1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2019 The Android Open Source Project
4
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<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:layout_gravity="center"
22    android:gravity="center_horizontal"
23    android:orientation="vertical">
24        <LinearLayout
25            android:layout_width="wrap_content"
26            android:layout_height="wrap_content"
27            android:gravity="center_horizontal"
28            android:orientation="horizontal">
29                <FrameLayout
30                    android:layout_width="wrap_content"
31                    android:layout_height="wrap_content"
32                    android:layout_weight="1">
33                        <ImageView
34                            android:id="@+id/shape_preview_icon_0"
35                            android:layout_width="@dimen/preview_theme_shape_size"
36                            android:layout_height="@dimen/preview_theme_shape_size"
37                            android:layout_gravity="center_horizontal"
38                            android:layout_margin="4dp"
39                            android:elevation="4dp"/>
40                </FrameLayout>
41                <Space
42                    android:layout_width="@dimen/preview_theme_shape_size"
43                    android:layout_height="match_parent"
44                    android:layout_weight="0" />
45                <FrameLayout
46                    android:layout_width="wrap_content"
47                    android:layout_height="wrap_content"
48                    android:layout_weight="1">
49                        <ImageView
50                            android:id="@+id/shape_preview_icon_1"
51                            android:layout_width="@dimen/preview_theme_shape_size"
52                            android:layout_height="@dimen/preview_theme_shape_size"
53                            android:layout_gravity="center_horizontal"
54                            android:layout_margin="4dp"
55                            android:elevation="4dp"/>
56                </FrameLayout>
57                <Space
58                    android:layout_width="@dimen/preview_theme_shape_size"
59                    android:layout_height="match_parent"
60                    android:layout_weight="0" />
61                <FrameLayout
62                    android:layout_width="wrap_content"
63                    android:layout_height="wrap_content"
64                    android:layout_weight="1">
65                        <ImageView
66                            android:id="@+id/shape_preview_icon_2"
67                            android:layout_width="@dimen/preview_theme_shape_size"
68                            android:layout_height="@dimen/preview_theme_shape_size"
69                            android:layout_gravity="center_horizontal"
70                            android:layout_margin="4dp"
71                            android:elevation="4dp"/>
72                </FrameLayout>
73        </LinearLayout>
74        <Space
75            android:layout_width="match_parent"
76            android:layout_height="60dp" />
77        <LinearLayout
78            android:layout_width="wrap_content"
79            android:layout_height="wrap_content"
80            android:gravity="bottom|center_horizontal"
81            android:orientation="horizontal">
82                <FrameLayout
83                    android:layout_width="wrap_content"
84                    android:layout_height="wrap_content"
85                    android:layout_weight="1">
86                        <ImageView
87                            android:id="@+id/shape_preview_icon_3"
88                            android:layout_width="@dimen/preview_theme_shape_size"
89                            android:layout_height="@dimen/preview_theme_shape_size"
90                            android:layout_gravity="center_horizontal"
91                            android:layout_margin="4dp"
92                            android:elevation="4dp"/>
93                </FrameLayout>
94                <Space
95                    android:layout_width="@dimen/preview_theme_shape_size"
96                    android:layout_height="match_parent"
97                    android:layout_weight="0" />
98                <FrameLayout
99                    android:layout_width="wrap_content"
100                    android:layout_height="wrap_content"
101                    android:layout_weight="1">
102                        <ImageView
103                            android:id="@+id/shape_preview_icon_4"
104                            android:layout_width="@dimen/preview_theme_shape_size"
105                            android:layout_height="@dimen/preview_theme_shape_size"
106                            android:layout_gravity="center_horizontal"
107                            android:layout_margin="4dp"
108                            android:elevation="4dp"/>
109                </FrameLayout>
110                <Space
111                    android:layout_width="@dimen/preview_theme_shape_size"
112                    android:layout_height="match_parent"
113                    android:layout_weight="0" />
114                <FrameLayout
115                    android:layout_width="wrap_content"
116                    android:layout_height="wrap_content"
117                    android:layout_weight="1">
118                        <ImageView
119                            android:id="@+id/shape_preview_icon_5"
120                            android:layout_width="@dimen/preview_theme_shape_size"
121                            android:layout_height="@dimen/preview_theme_shape_size"
122                            android:layout_margin="4dp"
123                            android:layout_gravity="center_horizontal"
124                            android:elevation="4dp"/>
125                </FrameLayout>
126        </LinearLayout>
127</LinearLayout>