1<!-- 2 ~ Copyright (C) 2022 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 --> 16<androidx.cardview.widget.CardView 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:layout_marginBottom="10dp" 21 android:id="@+id/parent_card_view" 22 style="@style/IndicatorCardView"> 23 <LinearLayout 24 android:orientation="vertical" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:id="@+id/full_card"> 28 <RelativeLayout 29 android:id="@+id/permission_parent" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content"/> 32 <LinearLayout 33 android:id="@+id/expanded_view" 34 android:orientation="vertical" 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:visibility="gone" 38 android:layout_marginTop="10dp"> 39 <com.google.android.material.card.MaterialCardView 40 xmlns:android="http://schemas.android.com/apk/res/android" 41 android:id="@+id/manage_permission" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:layout_marginBottom="4dp" 45 style="@style/TopCornersCardView" 46 android:theme="@style/TopCornersCardView"> 47 <RelativeLayout 48 android:id="@+id/manage_parent" 49 android:layout_width="match_parent" 50 android:layout_height="wrap_content"/> 51 </com.google.android.material.card.MaterialCardView> 52 <com.google.android.material.card.MaterialCardView 53 android:id="@+id/see_usage" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:layout_marginTop="4dp" 57 style="@style/BottomCornersCardView" 58 android:theme="@style/BottomCornersCardView"> 59 <RelativeLayout 60 android:id="@+id/usage_parent" 61 android:layout_width="match_parent" 62 android:layout_height="wrap_content"/> 63 </com.google.android.material.card.MaterialCardView> 64 </LinearLayout> 65 </LinearLayout> 66</androidx.cardview.widget.CardView> 67