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"
20    android:fillViewport="true"
21    android:background="?android:attr/colorBackgroundFloating"
22    android:importantForAccessibility="noHideDescendants">
23
24    <view class="com.android.settings.TouchBlockingFrameLayout"
25        android:id="@+id/frame"
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content">
28
29        <LinearLayout
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content"
32            android:orientation="vertical">
33
34            <!-- Wifi Setting -->
35            <LinearLayout
36                android:layout_width="match_parent"
37                android:layout_height="wrap_content"
38                android:paddingTop="16dp"
39                android:paddingStart="8dp"
40                android:orientation="horizontal">
41
42                <ImageView
43                    android:layout_width="48dp"
44                    android:layout_height="48dp"
45                    android:src="@drawable/ic_settings_wireless"
46                    android:tint="?android:attr/colorAccent"
47                    android:scaleType="center" />
48
49                <LinearLayout
50                    android:layout_width="0dp"
51                    android:layout_height="wrap_content"
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"
60                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
61                        android:textColor="?android:attr/textColorPrimary" />
62
63
64                    <TextView
65                        android:layout_width="wrap_content"
66                        android:layout_height="wrap_content"
67                        android:text="@string/wifi_display_status_not_available"
68                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
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"
90                    android:layout_height="wrap_content"
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"
99                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
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"
106                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
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"
137                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
138                        android:textColor="?android:attr/textColorPrimary" />
139
140                    <TextView
141                        android:layout_width="wrap_content"
142                        android:layout_height="wrap_content"
143                        android:text="@string/display_summary_example"
144                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
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"
175                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
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"
182                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
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"
213                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
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"
220                        android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
221                        android:textColor="?android:attr/textColorSecondary" />
222                </LinearLayout>
223            </LinearLayout>
224        </LinearLayout>
225    </view>
226</ScrollView>
227