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 <ImageView 30 android:id="@+id/preview_icon_0" 31 android:layout_width="@dimen/preview_theme_icon_size" 32 android:layout_height="@dimen/preview_theme_icon_size" 33 android:layout_weight="1" 34 android:tint="@color/theme_preview_icon_color"/> 35 <Space 36 android:layout_width="0dp" 37 android:layout_height="match_parent" 38 android:layout_weight="0" /> 39 <ImageView 40 android:id="@+id/preview_icon_1" 41 android:layout_width="@dimen/preview_theme_icon_size" 42 android:layout_height="@dimen/preview_theme_icon_size" 43 android:layout_weight="1" 44 android:tint="@color/theme_preview_icon_color"/> 45 <Space 46 android:layout_width="0dp" 47 android:layout_height="match_parent" 48 android:layout_weight="0" /> 49 <ImageView 50 android:id="@+id/preview_icon_2" 51 android:layout_width="@dimen/preview_theme_icon_size" 52 android:layout_height="@dimen/preview_theme_icon_size" 53 android:layout_weight="1" 54 android:tint="@color/theme_preview_icon_color"/> 55 </LinearLayout> 56 <Space 57 android:layout_width="match_parent" 58 android:layout_height="0dp" 59 android:layout_weight="1" /> 60 <LinearLayout 61 android:layout_width="match_parent" 62 android:layout_height="wrap_content" 63 android:gravity="bottom|center_horizontal" 64 android:orientation="horizontal"> 65 <ImageView 66 android:id="@+id/preview_icon_3" 67 android:layout_width="@dimen/preview_theme_icon_size" 68 android:layout_height="@dimen/preview_theme_icon_size" 69 android:layout_weight="1" 70 android:tint="@color/theme_preview_icon_color"/> 71 <Space 72 android:layout_width="0dp" 73 android:layout_height="match_parent" 74 android:layout_weight="0" /> 75 <ImageView 76 android:id="@+id/preview_icon_4" 77 android:layout_width="@dimen/preview_theme_icon_size" 78 android:layout_height="@dimen/preview_theme_icon_size" 79 android:layout_weight="1" 80 android:tint="@color/theme_preview_icon_color"/> 81 <Space 82 android:layout_width="0dp" 83 android:layout_height="match_parent" 84 android:layout_weight="0" /> 85 <ImageView 86 android:id="@+id/preview_icon_5" 87 android:layout_width="@dimen/preview_theme_icon_size" 88 android:layout_height="@dimen/preview_theme_icon_size" 89 android:layout_weight="1" 90 android:tint="@color/theme_preview_icon_color"/> 91 </LinearLayout> 92 <Space 93 android:layout_width="match_parent" 94 android:layout_height="0dp" 95 android:layout_weight="1" /> 96</LinearLayout>