blob: 4423e106270b65a23bcd944b3201e4a932b73f23 [file] [log] [blame]
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08001<?xml version="1.0" encoding="utf-8"?>
Amith Yamasanib14e1e02010-11-02 09:52:29 -07002<!-- Copyright (C) 2010 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.
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080015-->
Amith Yamasanib14e1e02010-11-02 09:52:29 -070016
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="match_parent"
20 android:orientation="vertical"
21 >
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080022
Henrik Tuszynskide6007c2010-05-12 08:44:09 +020023 <ScrollView
jackqdyulei0b3edc72016-12-13 17:07:08 -080024 android:id="@+id/master_clear_scrollview"
Amith Yamasanib14e1e02010-11-02 09:52:29 -070025 android:layout_width="match_parent"
Henrik Tuszynskide6007c2010-05-12 08:44:09 +020026 android:layout_height="0dip"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070027 android:layout_marginStart="12dp"
28 android:layout_marginEnd="12dp"
Amith Yamasanib14e1e02010-11-02 09:52:29 -070029 android:layout_marginTop="12dp"
Henrik Tuszynskide6007c2010-05-12 08:44:09 +020030 android:layout_weight="1">
Julia Reynoldsce25af42015-07-08 16:56:31 -040031 <LinearLayout android:id="@+id/master_clear_container"
32 android:layout_width="match_parent"
Dianne Hackborn1337d0f2010-10-14 11:58:30 -070033 android:layout_height="wrap_content"
34 android:orientation="vertical">
35 <TextView
36 android:layout_width="match_parent"
37 android:layout_height="wrap_content"
Sami Tolvanen63af7fc2014-10-16 15:19:17 -070038 android:includeFontPadding="false"
Dianne Hackborn1337d0f2010-10-14 11:58:30 -070039 android:textSize="18sp"
40 android:text="@string/master_clear_desc" />
Kenny Root3785e392011-01-18 15:14:32 -080041 <TextView android:id="@+id/also_erases_external"
42 android:layout_width="match_parent"
43 android:layout_height="wrap_content"
Sami Tolvanen63af7fc2014-10-16 15:19:17 -070044 android:includeFontPadding="false"
Kenny Root3785e392011-01-18 15:14:32 -080045 android:visibility="gone"
46 android:textSize="18sp"
47 android:text="@string/master_clear_desc_also_erases_external" />
Joe Onoratob51886d2010-11-08 18:25:51 -080048 <TextView android:id="@+id/accounts_label"
49 android:layout_width="match_parent"
50 android:layout_height="wrap_content"
51 android:visibility="gone"
52 android:textSize="18sp"
53 android:text="@string/master_clear_accounts" />
54 <LinearLayout android:id="@+id/accounts"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:orientation="vertical"
Amith Yamasani3f45de52011-09-22 14:34:17 -070058 android:visibility="gone">
59 <!-- Do not add any children here as they will be removed in the MasterClear.java
60 code. A list of accounts will be inserted programmatically. -->
61 </LinearLayout>
Zoltan Szatmary-Ban7cc1b9e2014-10-24 18:03:18 +010062 <TextView android:id="@+id/other_users_present"
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 android:visibility="gone"
66 android:textSize="18sp"
67 android:text="@string/master_clear_other_users_present" />
Kenny Root3785e392011-01-18 15:14:32 -080068 <TextView android:id="@+id/erase_external_option_text"
Joe Onoratob51886d2010-11-08 18:25:51 -080069 android:layout_width="match_parent"
70 android:layout_height="wrap_content"
71 android:textSize="18sp"
72 android:text="@string/master_clear_desc_erase_external_storage" />
Dianne Hackborn1337d0f2010-10-14 11:58:30 -070073 <LinearLayout android:id="@+id/erase_external_container"
74 android:layout_width="match_parent"
75 android:layout_height="wrap_content"
76 android:orientation="horizontal"
77 android:focusable="true"
78 android:clickable="true">
79 <CheckBox android:id="@+id/erase_external"
80 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
Amith Yamasanib14e1e02010-11-02 09:52:29 -070082 android:layout_gravity="center_vertical"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070083 android:paddingEnd="8dp"
Dianne Hackborn1337d0f2010-10-14 11:58:30 -070084 android:focusable="false"
85 android:clickable="false"
86 android:duplicateParentState="true" />
87 <LinearLayout android:layout_width="match_parent"
88 android:layout_height="wrap_content"
Amith Yamasanib14e1e02010-11-02 09:52:29 -070089 android:layout_gravity="center_vertical"
Dianne Hackborn1337d0f2010-10-14 11:58:30 -070090 android:orientation="vertical">
91 <TextView
92 android:layout_width="wrap_content"
93 android:layout_height="wrap_content"
94 android:paddingTop="12dp"
95 android:textSize="18sp"
96 android:text="@string/erase_external_storage" />
97 <TextView
98 android:layout_width="wrap_content"
99 android:layout_height="wrap_content"
100 android:paddingTop="4sp"
101 android:textSize="14sp"
102 android:text="@string/erase_external_storage_description" />
103 </LinearLayout>
104 </LinearLayout>
qingxi072f2862017-04-11 18:28:40 -0700105 <LinearLayout android:id="@+id/erase_esim_container"
106 android:layout_width="match_parent"
107 android:layout_height="wrap_content"
108 android:orientation="horizontal"
109 android:focusable="true"
110 android:clickable="true">
111 <CheckBox android:id="@+id/erase_esim"
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:layout_gravity="center_vertical"
115 android:paddingEnd="8dp"
116 android:focusable="false"
117 android:clickable="false"
118 android:duplicateParentState="true" />
119 <LinearLayout android:layout_width="match_parent"
120 android:layout_height="wrap_content"
121 android:layout_gravity="center_vertical"
122 android:orientation="vertical">
123 <TextView
124 android:layout_width="wrap_content"
125 android:layout_height="wrap_content"
126 android:paddingTop="12dp"
127 android:textSize="18sp"
128 android:text="@string/erase_esim_storage" />
129 <TextView
130 android:layout_width="wrap_content"
131 android:layout_height="wrap_content"
132 android:paddingTop="4sp"
133 android:textSize="14sp"
134 android:text="@string/erase_esim_storage_description" />
135 </LinearLayout>
136 </LinearLayout>
Dianne Hackborn1337d0f2010-10-14 11:58:30 -0700137 </LinearLayout>
Henrik Tuszynskide6007c2010-05-12 08:44:09 +0200138 </ScrollView>
139 <Button
140 android:id="@+id/initiate_master_clear"
141 android:layout_gravity="center_horizontal"
142 android:layout_marginTop="20dip"
Amith Yamasanib14e1e02010-11-02 09:52:29 -0700143 android:layout_marginBottom="12dip"
144 android:layout_width="wrap_content"
Henrik Tuszynskide6007c2010-05-12 08:44:09 +0200145 android:layout_height="wrap_content"
146 android:text="@string/master_clear_button_text"
147 android:gravity="center" />
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800148
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -0800149</LinearLayout>