blob: 3401fcf19710fccdadfe9d3ba6684d143e9947d0 [file] [log] [blame]
Anna Galusza384fa2e2016-02-03 15:51:12 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Noah Wangabf63122016-02-23 17:26:13 -080020 android:fillViewport="true"
Noah Wang36e89f62016-03-03 20:05:14 -080021 android:background="?android:attr/colorBackgroundFloating"
22 android:importantForAccessibility="noHideDescendants">
Anna Galusza384fa2e2016-02-03 15:51:12 -080023
Noah Wangabf63122016-02-23 17:26:13 -080024 <view class="com.android.settings.TouchBlockingFrameLayout"
25 android:id="@+id/frame"
Anna Galusza384fa2e2016-02-03 15:51:12 -080026 android:layout_width="match_parent"
Noah Wangabf63122016-02-23 17:26:13 -080027 android:layout_height="wrap_content">
Anna Galusza384fa2e2016-02-03 15:51:12 -080028
Anna Galusza384fa2e2016-02-03 15:51:12 -080029 <LinearLayout
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
Noah Wangabf63122016-02-23 17:26:13 -080032 android:orientation="vertical">
Anna Galusza384fa2e2016-02-03 15:51:12 -080033
Noah Wangabf63122016-02-23 17:26:13 -080034 <!-- Wifi Setting -->
Anna Galusza384fa2e2016-02-03 15:51:12 -080035 <LinearLayout
Noah Wangabf63122016-02-23 17:26:13 -080036 android:layout_width="match_parent"
Anna Galusza384fa2e2016-02-03 15:51:12 -080037 android:layout_height="wrap_content"
Noah Wangabf63122016-02-23 17:26:13 -080038 android:paddingTop="16dp"
39 android:paddingStart="8dp"
40 android:orientation="horizontal">
Anna Galusza384fa2e2016-02-03 15:51:12 -080041
Noah Wangabf63122016-02-23 17:26:13 -080042 <ImageView
43 android:layout_width="48dp"
44 android:layout_height="48dp"
Anas Karbilae17dc5e2017-04-08 19:48:43 +090045 android:src="@drawable/ic_settings_wireless"
Noah Wangabf63122016-02-23 17:26:13 -080046 android:tint="?android:attr/colorAccent"
47 android:scaleType="center" />
48
49 <LinearLayout
50 android:layout_width="0dp"
Anna Galusza384fa2e2016-02-03 15:51:12 -080051 android:layout_height="wrap_content"
Noah Wangabf63122016-02-23 17:26:13 -080052 android:layout_weight="1"
53 android:orientation="vertical"
54 android:paddingStart="16dp">
55
56 <TextView
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content"
59 android:text="@string/wifi_settings"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050060 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Noah Wangabf63122016-02-23 17:26:13 -080061 android:textColor="?android:attr/textColorPrimary" />
Anna Galusza384fa2e2016-02-03 15:51:12 -080062
63
Noah Wangabf63122016-02-23 17:26:13 -080064 <TextView
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:text="@string/wifi_display_status_not_available"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050068 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Noah Wangabf63122016-02-23 17:26:13 -080069 android:textColor="?android:attr/textColorSecondary" />
70 </LinearLayout>
71 </LinearLayout>
72
73 <!-- Data usage Setting -->
74 <LinearLayout
75 android:layout_width="match_parent"
76 android:layout_height="wrap_content"
77 android:paddingTop="16dp"
78 android:paddingStart="8dp"
79 android:orientation="horizontal">
80
81 <ImageView
82 android:layout_width="48dp"
83 android:layout_height="48dp"
84 android:src="@drawable/ic_settings_data_usage"
85 android:tint="?android:attr/colorAccent"
86 android:scaleType="center" />
87
88 <LinearLayout
89 android:layout_width="0dp"
Anna Galusza384fa2e2016-02-03 15:51:12 -080090 android:layout_height="wrap_content"
Noah Wangabf63122016-02-23 17:26:13 -080091 android:layout_weight="1"
92 android:orientation="vertical"
93 android:paddingStart="16dp">
94
95 <TextView
96 android:layout_width="wrap_content"
97 android:layout_height="wrap_content"
98 android:text="@string/data_usage_summary_title"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050099 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Noah Wangabf63122016-02-23 17:26:13 -0800100 android:textColor="?android:attr/textColorPrimary" />
101
102 <TextView
103 android:layout_width="wrap_content"
104 android:layout_height="wrap_content"
105 android:text="@string/no_data_usage"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500106 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Noah Wangabf63122016-02-23 17:26:13 -0800107 android:textColor="?android:attr/textColorSecondary" />
108 </LinearLayout>
109 </LinearLayout>
110
111 <!-- Display Setting -->
112 <LinearLayout
113 android:layout_width="match_parent"
114 android:layout_height="wrap_content"
115 android:paddingTop="16dp"
116 android:paddingStart="8dp"
117 android:orientation="horizontal">
118
119 <ImageView
120 android:layout_width="48dp"
121 android:layout_height="48dp"
122 android:src="@drawable/ic_settings_display"
123 android:tint="?android:attr/colorAccent"
124 android:scaleType="center" />
125
126 <LinearLayout
127 android:layout_width="0dp"
128 android:layout_height="wrap_content"
129 android:layout_weight="1"
130 android:orientation="vertical"
131 android:paddingStart="16dp">
132
133 <TextView
134 android:layout_width="wrap_content"
135 android:layout_height="wrap_content"
136 android:text="@string/display_settings_title"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500137 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Noah Wangabf63122016-02-23 17:26:13 -0800138 android:textColor="?android:attr/textColorPrimary" />
139
140 <TextView
141 android:layout_width="wrap_content"
142 android:layout_height="wrap_content"
Stephen Chen61462ae2016-09-26 15:36:37 -0700143 android:text="@string/display_summary_example"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500144 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Noah Wangabf63122016-02-23 17:26:13 -0800145 android:textColor="?android:attr/textColorSecondary" />
146 </LinearLayout>
147 </LinearLayout>
148
149 <!-- Sound & Notification Setting -->
150 <LinearLayout
151 android:layout_width="match_parent"
152 android:layout_height="wrap_content"
153 android:paddingTop="16dp"
154 android:paddingStart="8dp"
155 android:orientation="horizontal">
156
157 <ImageView
158 android:layout_width="48dp"
159 android:layout_height="48dp"
160 android:src="@drawable/ic_settings_sound"
161 android:tint="?android:attr/colorAccent"
162 android:scaleType="center" />
163
164 <LinearLayout
165 android:layout_width="0dp"
166 android:layout_height="wrap_content"
167 android:layout_weight="1"
168 android:orientation="vertical"
169 android:paddingStart="16dp">
170
171 <TextView
172 android:layout_width="wrap_content"
173 android:layout_height="wrap_content"
174 android:text="@string/sound_settings"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500175 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Noah Wangabf63122016-02-23 17:26:13 -0800176 android:textColor="?android:attr/textColorPrimary" />
177
178 <TextView
179 android:layout_width="wrap_content"
180 android:layout_height="wrap_content"
181 android:text="@string/sound_settings_example_summary"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500182 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Noah Wangabf63122016-02-23 17:26:13 -0800183 android:textColor="?android:attr/textColorSecondary" />
184 </LinearLayout>
185 </LinearLayout>
186
187 <!-- Apps Setting -->
188 <LinearLayout
189 android:layout_width="match_parent"
190 android:layout_height="wrap_content"
191 android:paddingTop="16dp"
192 android:paddingStart="8dp"
193 android:orientation="horizontal">
194
195 <ImageView
196 android:layout_width="48dp"
197 android:layout_height="48dp"
198 android:src="@drawable/ic_settings_applications"
199 android:tint="?android:attr/colorAccent"
200 android:scaleType="center" />
201
202 <LinearLayout
203 android:layout_width="0dp"
204 android:layout_height="wrap_content"
205 android:layout_weight="1"
206 android:orientation="vertical"
207 android:paddingStart="16dp">
208
209 <TextView
210 android:layout_width="wrap_content"
211 android:layout_height="wrap_content"
212 android:text="@string/applications_settings"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500213 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Noah Wangabf63122016-02-23 17:26:13 -0800214 android:textColor="?android:attr/textColorPrimary" />
215
216 <TextView
217 android:layout_width="wrap_content"
218 android:layout_height="wrap_content"
219 android:text="@string/apps_summary_example"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -0500220 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Noah Wangabf63122016-02-23 17:26:13 -0800221 android:textColor="?android:attr/textColorSecondary" />
222 </LinearLayout>
Anna Galusza384fa2e2016-02-03 15:51:12 -0800223 </LinearLayout>
224 </LinearLayout>
Noah Wangabf63122016-02-23 17:26:13 -0800225 </view>
Anna Galusza384fa2e2016-02-03 15:51:12 -0800226</ScrollView>