1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content"
20    android:paddingTop="12dp"
21    android:paddingBottom="12dp"
22    android:orientation="vertical">
23
24    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
28        android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
29        android:orientation="horizontal">
30        <ImageView
31            android:id="@+id/thumb1"
32            android:layout_width="@dimen/permission_thumb_size"
33            android:layout_height="@dimen/permission_thumb_size"
34            android:layout_marginEnd="@dimen/permission_thumb_margin"
35            android:background="@drawable/thumb_clip"
36            android:scaleType="centerCrop"
37            android:visibility="gone" />
38        <ImageView
39            android:id="@+id/thumb2"
40            android:layout_width="@dimen/permission_thumb_size"
41            android:layout_height="@dimen/permission_thumb_size"
42            android:layout_marginEnd="@dimen/permission_thumb_margin"
43            android:background="@drawable/thumb_clip"
44            android:scaleType="centerCrop"
45            android:visibility="gone" />
46        <ImageView
47            android:id="@+id/thumb3"
48            android:layout_width="@dimen/permission_thumb_size"
49            android:layout_height="@dimen/permission_thumb_size"
50            android:layout_marginEnd="@dimen/permission_thumb_margin"
51            android:background="@drawable/thumb_clip"
52            android:scaleType="centerCrop"
53            android:visibility="gone" />
54        <FrameLayout
55            android:id="@+id/thumb_more_container"
56            android:layout_width="@dimen/permission_thumb_size"
57            android:layout_height="@dimen/permission_thumb_size"
58            android:visibility="gone">
59            <ImageView
60                android:id="@+id/thumb_more"
61                android:layout_width="match_parent"
62                android:layout_height="match_parent"
63                android:background="@drawable/thumb_clip"
64                android:scaleType="centerCrop"/>
65            <View
66                android:id="@+id/thumb_more_gradient"
67                android:layout_width="match_parent"
68                android:layout_height="match_parent"
69                android:background="@drawable/thumb_clip_gradient"
70                android:visibility="gone"/>
71            <TextView
72                android:id="@+id/thumb_more_text"
73                android:layout_width="match_parent"
74                android:layout_height="match_parent"
75                android:gravity="center"
76                android:textColor="?android:attr/textColorPrimaryInverse" />
77        </FrameLayout>
78    </LinearLayout>
79
80    <ImageView
81        android:id="@+id/thumb_full"
82        android:layout_width="match_parent"
83        android:layout_height="200dp"
84        android:scaleType="centerCrop"
85        android:src="@color/thumb_gray_color"
86        android:visibility="gone" />
87
88    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
89        android:layout_width="match_parent"
90        android:layout_height="wrap_content"
91        android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
92        android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
93        android:orientation="vertical">
94        <TextView
95            android:id="@+id/list"
96            android:layout_width="match_parent"
97            android:layout_height="wrap_content"
98            android:layout_marginTop="12dp"
99            android:visibility="gone" />
100    </LinearLayout>
101</LinearLayout>
102