blob: 32010c36026f18b58f33d0d5e3693e790c5a2cc4 [file] [log] [blame]
Edward Savage-Jones5042c9b2017-01-25 00:44:18 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:minHeight="?android:attr/listPreferredItemHeightSmall"
22 android:gravity="center_vertical"
23 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
24 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
25 android:clickable="false"
26 android:orientation="horizontal">
27
28 <LinearLayout
29 android:id="@+id/icon_frame"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:minWidth="56dp"
33 android:gravity="start|center_vertical"
34 android:orientation="horizontal"
35 android:paddingEnd="12dp"
36 android:paddingTop="4dp"
37 android:paddingBottom="4dp">
38 <com.android.internal.widget.PreferenceImageView
39 android:id="@android:id/icon"
40 android:layout_width="24dp"
41 android:layout_height="24dp"/>
42 </LinearLayout>
43
44 <LinearLayout
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:orientation="vertical"
48 android:layout_marginTop="8dp"
49 android:layout_marginBottom="8dp">
50
51 <LinearLayout
52 android:layout_width="match_parent"
53 android:layout_height="wrap_content">
54 <TextView
55 android:id="@android:id/title"
56 android:layout_width="0dp"
57 android:layout_height="wrap_content"
58 android:layout_weight="1"
59 android:singleLine="true"
60 android:textAppearance="@*android:style/TextAppearance.Material.Subhead"
61 android:textColor="?android:attr/textColorPrimary"
62 android:ellipsize="marquee"
63 android:fadingEdge="horizontal"/>
64 <LinearLayout
65 android:id="@android:id/widget_frame"
66 android:layout_width="wrap_content"
67 android:layout_height="match_parent"
68 android:gravity="center_vertical"
69 android:orientation="vertical"/>
70 </LinearLayout>
71
72 <LinearLayout
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 android:orientation="vertical">
76
77 <com.android.settings.accessibility.BalanceSeekBar
78 android:id="@*android:id/seekbar"
79 android:layout_gravity="center_vertical"
80 android:layout_width="match_parent"
81 android:layout_height="wrap_content"/>
82
83 <LinearLayout
84 android:layout_width="match_parent"
85 android:layout_height="wrap_content"
86 android:layout_gravity="center_vertical"
87 android:orientation="horizontal">
88 <TextView
89 android:id="@+id/left_text"
90 android:text="@string/accessibility_toggle_master_balance_left_label"
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content"
93 android:layout_weight="1"
94 android:maxLines="1"
95 android:textAlignment="viewStart" />
96 <TextView
97 android:id="@+id/right_text"
98 android:text="@string/accessibility_toggle_master_balance_right_label"
99 android:layout_width="wrap_content"
100 android:layout_height="wrap_content"
101 android:layout_weight="1"
102 android:maxLines="1"
103 android:textAlignment="viewEnd" />
104
105 </LinearLayout>
106 </LinearLayout>
107 </LinearLayout>
108
109</LinearLayout>