blob: 5560a35fa29d636bf6214f5c078e803cb2fb227d [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"
Santiago Etchebeheref18580d2019-01-10 10:24:42 -080039 android:layout_width="@dimen/theme_option_sample_width"
Santiago Etchebehere273f6552019-01-04 17:33:45 -080040 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"
Santiago Etchebeheref18580d2019-01-10 10:24:42 -080048 android:layout_width="@dimen/theme_option_sample_width"
Santiago Etchebehere273f6552019-01-04 17:33:45 -080049 android:layout_height="@dimen/theme_option_sample_height"
50 android:layout_alignParentTop="true"
Santiago Etchebeheref18580d2019-01-10 10:24:42 -080051 android:layout_alignParentRight="true"
52 android:layout_centerVertical="true"
53 android:padding="@dimen/theme_option_sample_padding"/>
Santiago Etchebehere273f6552019-01-04 17:33:45 -080054 <ImageView
55 android:id="@+id/theme_option_color"
Santiago Etchebeheref18580d2019-01-10 10:24:42 -080056 android:layout_width="@dimen/theme_option_sample_width"
Santiago Etchebehere273f6552019-01-04 17:33:45 -080057 android:layout_height="@dimen/theme_option_sample_height"
58 android:layout_alignParentBottom="true"
59 android:layout_alignParentLeft="true"
Santiago Etchebeheref18580d2019-01-10 10:24:42 -080060 android:padding="@dimen/theme_option_sample_padding"
Santiago Etchebehere273f6552019-01-04 17:33:45 -080061 android:src="@drawable/option_color"/>
62 <ImageView
63 android:id="@+id/theme_option_icon"
Santiago Etchebeheref18580d2019-01-10 10:24:42 -080064 android:layout_width="@dimen/theme_option_sample_width"
Santiago Etchebehere273f6552019-01-04 17:33:45 -080065 android:layout_height="@dimen/theme_option_sample_height"
66 android:layout_alignParentBottom="true"
Santiago Etchebeheref18580d2019-01-10 10:24:42 -080067 android:layout_alignParentRight="true"
68 android:padding="@dimen/theme_option_sample_padding"/>
Santiago Etchebehere273f6552019-01-04 17:33:45 -080069 </RelativeLayout>
Santiago Etchebehere988f99d2018-12-20 17:13:12 -080070</LinearLayout>