blob: 9e2ef8231216ae8688a90bbfb52bce20ec891c9b [file] [log] [blame]
Santiago Etchebehere273f6552019-01-04 17:33:45 -08001<?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 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="wrap_content"
19 android:layout_height="match_parent"
20 android:orientation="vertical">
21
22 <TextView
23 android:id="@+id/option_label"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:layout_gravity="center_horizontal"
27 android:layout_marginBottom="@dimen/theme_option_label_margin"
28 android:textAppearance="@style/OptionTitleTextAppearance"/>
29 <RelativeLayout
30 android:id="@+id/option_tile"
31 android:layout_width="@dimen/option_tile_width"
32 android:layout_height="@dimen/option_tile_width"
33 android:layout_gravity="center_horizontal"
34 android:paddingHorizontal="@dimen/option_tile_padding_horizontal"
35 android:paddingVertical="@dimen/option_tile_padding_vertical"
36 android:background="@drawable/option_border">
37 <TextView
38 android:id="@+id/theme_option_font"
39 android:layout_width="wrap_content"
40 android:layout_height="@dimen/theme_option_sample_height"
41 android:layout_alignParentTop="true"
42 android:layout_alignParentLeft="true"
43 android:gravity="center"
44 android:textSize="@dimen/theme_option_font_text_size"
45 android:text="@string/theme_font_example"/>
46 <ImageView
47 android:id="@+id/theme_option_shape"
48 android:layout_width="@dimen/theme_option_sample_right_width"
49 android:layout_height="@dimen/theme_option_sample_height"
50 android:layout_alignParentTop="true"
51 android:layout_alignParentRight="true"/>
52 <ImageView
53 android:id="@+id/theme_option_color"
54 android:layout_width="@dimen/theme_option_sample_left_width"
55 android:layout_height="@dimen/theme_option_sample_height"
56 android:layout_alignParentBottom="true"
57 android:layout_alignParentLeft="true"
58 android:src="@drawable/option_color"/>
59 <ImageView
60 android:id="@+id/theme_option_icon"
61 android:layout_width="@dimen/theme_option_sample_right_width"
62 android:layout_height="@dimen/theme_option_sample_height"
63 android:layout_alignParentBottom="true"
64 android:layout_alignParentRight="true"/>
65 </RelativeLayout>
Santiago Etchebehere988f99d2018-12-20 17:13:12 -080066</LinearLayout>