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="match_parent"
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="0dp"
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="0dp"
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="0dp"
77            android:layout_weight="1" />
78        <LinearLayout
79            android:layout_width="match_parent"
80            android:layout_height="wrap_content"
81            android:gravity="bottom|center_horizontal"
82            android:orientation="horizontal">
83                <FrameLayout
84                    android:layout_width="wrap_content"
85                    android:layout_height="wrap_content"
86                    android:layout_weight="1">
87                        <ImageView
88                            android:id="@+id/shape_preview_icon_3"
89                            android:layout_width="@dimen/preview_theme_shape_size"
90                            android:layout_height="@dimen/preview_theme_shape_size"
91                            android:layout_gravity="center_horizontal"
92                            android:layout_margin="4dp"
93                            android:elevation="4dp"/>
94                </FrameLayout>
95                <Space
96                    android:layout_width="0dp"
97                    android:layout_height="match_parent"
98                    android:layout_weight="0" />
99                <FrameLayout
100                    android:layout_width="wrap_content"
101                    android:layout_height="wrap_content"
102                    android:layout_weight="1">
103                        <ImageView
104                            android:id="@+id/shape_preview_icon_4"
105                            android:layout_width="@dimen/preview_theme_shape_size"
106                            android:layout_height="@dimen/preview_theme_shape_size"
107                            android:layout_gravity="center_horizontal"
108                            android:layout_margin="4dp"
109                            android:elevation="4dp"/>
110                </FrameLayout>
111                <Space
112                    android:layout_width="0dp"
113                    android:layout_height="match_parent"
114                    android:layout_weight="0" />
115                <FrameLayout
116                    android:layout_width="wrap_content"
117                    android:layout_height="wrap_content"
118                    android:layout_weight="1">
119                        <ImageView
120                            android:id="@+id/shape_preview_icon_5"
121                            android:layout_width="@dimen/preview_theme_shape_size"
122                            android:layout_height="@dimen/preview_theme_shape_size"
123                            android:layout_margin="4dp"
124                            android:layout_gravity="center_horizontal"
125                            android:elevation="4dp"/>
126                </FrameLayout>
127        </LinearLayout>
128        <Space
129            android:layout_width="match_parent"
130            android:layout_height="0dp"
131            android:layout_weight="1" />
132</LinearLayout>