blob: 4fc8995c22acd16a0377c492d40232b46b09cbde [file] [log] [blame]
Santiago Etchebehere988f99d2018-12-20 17:13:12 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
chihhangchuang16c2eb22020-05-25 22:32:52 +08003 Copyright (C) 2020 The Android Open Source Project
Santiago Etchebehere988f99d2018-12-20 17:13:12 -08004
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<androidx.cardview.widget.CardView
18 xmlns:android="http://schemas.android.com/apk/res/android"
chihhangchuang16c2eb22020-05-25 22:32:52 +080019 style="@style/FullContentPreviewCard"
chihhangchuangad4215b2020-06-08 15:32:55 +080020 android:id="@+id/theme_preview_card"
21 android:contentDescription="@string/theme_preview_card_content_description"
Santiago Etchebehere988f99d2018-12-20 17:13:12 -080022 android:layout_width="match_parent"
Santiago Etchebehere1dbb7722019-01-22 15:20:12 -080023 android:layout_height="match_parent"
chihhangchuang16c2eb22020-05-25 22:32:52 +080024 android:layout_gravity="center">
Santiago Etchebehere988f99d2018-12-20 17:13:12 -080025
chihhangchuang16c2eb22020-05-25 22:32:52 +080026 <ImageView
27 android:id="@+id/wallpaper_preview_image"
28 android:layout_width="match_parent"
29 android:layout_height="match_parent"
Tianguang Zhang12827ff2021-04-14 00:32:20 +020030 android:background="?android:colorPrimary" />
chihhangchuang16c2eb22020-05-25 22:32:52 +080031
32 <SurfaceView
33 android:id="@+id/wallpaper_preview_surface"
34 android:layout_width="match_parent"
35 android:layout_height="match_parent" />
36
37 <FrameLayout
38 android:id="@+id/theme_preview_container"
39 android:layout_width="match_parent"
chihhangchuangad4215b2020-06-08 15:32:55 +080040 android:layout_height="match_parent"
41 android:importantForAccessibility="noHideDescendants" />
Santiago Etchebehere988f99d2018-12-20 17:13:12 -080042</androidx.cardview.widget.CardView>