blob: aff43a99d248f3f6c92ad52c783a86ef4cfda696 [file] [log] [blame]
Santiago Etchebehereb356ed02019-02-08 09:46:32 -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"
Wesley.CW Wang09dbae32020-07-07 17:31:51 +080018 android:layout_width="match_parent"
Wesley.CW Wangd954abf2020-05-13 17:33:43 +080019 android:layout_height="wrap_content"
20 android:paddingHorizontal="@dimen/option_padding_horizontal"
21 android:paddingBottom="@dimen/option_bottom_margin"
22 android:clipChildren="false"
23 android:clipToPadding="false"
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080024 android:orientation="vertical">
25
26 <TextView
27 android:id="@+id/option_label"
Wesley.CW Wangd954abf2020-05-13 17:33:43 +080028 android:layout_width="@dimen/option_tile_width"
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080029 android:layout_height="wrap_content"
30 android:layout_gravity="center_horizontal"
31 android:layout_marginBottom="@dimen/theme_option_label_margin"
Wesley.CW Wangd954abf2020-05-13 17:33:43 +080032 android:ellipsize="end"
33 android:gravity="center_horizontal"
34 android:maxLines="1"
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080035 android:textAppearance="@style/OptionTitleTextAppearance"/>
36 <FrameLayout
37 android:id="@+id/option_tile"
38 android:layout_width="@dimen/option_tile_width"
39 android:layout_height="@dimen/option_tile_width"
40 android:layout_gravity="center_horizontal"
41 android:paddingHorizontal="@dimen/option_tile_padding_horizontal"
42 android:paddingVertical="@dimen/option_tile_padding_vertical"
Beth Thibodeau692dc782019-05-20 15:34:06 -040043 android:background="@drawable/option_border_custom">
Amin Shaikh535db3e2019-04-19 09:51:41 -040044 <ImageView
Wesley.CW Wangd954abf2020-05-13 17:33:43 +080045 android:layout_width="@dimen/option_icon_size"
46 android:layout_height="@dimen/option_icon_size"
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080047 android:layout_gravity="center"
Amin Shaikh535db3e2019-04-19 09:51:41 -040048 android:src="@drawable/ic_add_24px"
49 android:tint="?android:attr/colorAccent" />
Santiago Etchebehereb356ed02019-02-08 09:46:32 -080050 </FrameLayout>
51</LinearLayout>