Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 1 | <?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 Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 20 | android:fillViewport="true" |
Noah Wang | 36e89f6 | 2016-03-03 20:05:14 -0800 | [diff] [blame] | 21 | android:background="?android:attr/colorBackgroundFloating" |
| 22 | android:importantForAccessibility="noHideDescendants"> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 23 | |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 24 | <view class="com.android.settings.TouchBlockingFrameLayout" |
| 25 | android:id="@+id/frame" |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 26 | android:layout_width="match_parent" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 27 | android:layout_height="wrap_content"> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 28 | |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 29 | <LinearLayout |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 32 | android:orientation="vertical"> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 33 | |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 34 | <!-- Wifi Setting --> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 35 | <LinearLayout |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 36 | android:layout_width="match_parent" |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 37 | android:layout_height="wrap_content" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 38 | android:paddingTop="16dp" |
| 39 | android:paddingStart="8dp" |
| 40 | android:orientation="horizontal"> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 41 | |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 42 | <ImageView |
| 43 | android:layout_width="48dp" |
| 44 | android:layout_height="48dp" |
Anas Karbila | e17dc5e | 2017-04-08 19:48:43 +0900 | [diff] [blame] | 45 | android:src="@drawable/ic_settings_wireless" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 46 | android:tint="?android:attr/colorAccent" |
| 47 | android:scaleType="center" /> |
| 48 | |
| 49 | <LinearLayout |
| 50 | android:layout_width="0dp" |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 51 | android:layout_height="wrap_content" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 52 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 60 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 61 | android:textColor="?android:attr/textColorPrimary" /> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 62 | |
| 63 | |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 64 | <TextView |
| 65 | android:layout_width="wrap_content" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:text="@string/wifi_display_status_not_available" |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 68 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 69 | 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 Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 90 | android:layout_height="wrap_content" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 91 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 99 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 100 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 106 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 107 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 137 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 138 | android:textColor="?android:attr/textColorPrimary" /> |
| 139 | |
| 140 | <TextView |
| 141 | android:layout_width="wrap_content" |
| 142 | android:layout_height="wrap_content" |
Stephen Chen | 61462ae | 2016-09-26 15:36:37 -0700 | [diff] [blame] | 143 | android:text="@string/display_summary_example" |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 144 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 145 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 175 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 176 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 182 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 183 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 213 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 214 | 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 Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 220 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 221 | android:textColor="?android:attr/textColorSecondary" /> |
| 222 | </LinearLayout> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 223 | </LinearLayout> |
| 224 | </LinearLayout> |
Noah Wang | abf6312 | 2016-02-23 17:26:13 -0800 | [diff] [blame] | 225 | </view> |
Anna Galusza | 384fa2e | 2016-02-03 15:51:12 -0800 | [diff] [blame] | 226 | </ScrollView> |