Anay Wadhera | ac2d620 | 2021-12-28 19:34:15 +0900 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2019 The Android Open Source Project |
| 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 | http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | Unless required by applicable law or agreed to in writing, software |
| 9 | distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | See the License for the specific language governing permissions and |
| 12 | limitations under the License. |
| 13 | --> |
| 14 | <androidx.cardview.widget.CardView |
| 15 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 16 | style="@style/FullContentPreviewCard" |
| 17 | android:id="@+id/icon_preview_card" |
| 18 | android:contentDescription="@string/icon_preview_content_description" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
| 21 | android:layout_gravity="center"> |
| 22 | |
| 23 | <FrameLayout |
| 24 | android:id="@+id/theme_preview_card_body_container" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="@dimen/preview_theme_content_max_height" |
| 27 | android:layout_marginTop="@dimen/preview_theme_content_margin" |
| 28 | android:clipChildren="false" |
| 29 | android:importantForAccessibility="noHideDescendants"> |
| 30 | |
| 31 | <include layout="@layout/preview_card_icon_content" /> |
| 32 | |
| 33 | </FrameLayout> |
| 34 | </androidx.cardview.widget.CardView> |