The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 2 | <!-- 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 Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 15 | --> |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 16 | |
| 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 Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 22 | |
Henrik Tuszynski | de6007c | 2010-05-12 08:44:09 +0200 | [diff] [blame] | 23 | <ScrollView |
jackqdyulei | 0b3edc7 | 2016-12-13 17:07:08 -0800 | [diff] [blame] | 24 | android:id="@+id/master_clear_scrollview" |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
Henrik Tuszynski | de6007c | 2010-05-12 08:44:09 +0200 | [diff] [blame] | 26 | android:layout_height="0dip" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 27 | android:layout_marginStart="12dp" |
| 28 | android:layout_marginEnd="12dp" |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 29 | android:layout_marginTop="12dp" |
Henrik Tuszynski | de6007c | 2010-05-12 08:44:09 +0200 | [diff] [blame] | 30 | android:layout_weight="1"> |
Julia Reynolds | ce25af4 | 2015-07-08 16:56:31 -0400 | [diff] [blame] | 31 | <LinearLayout android:id="@+id/master_clear_container" |
| 32 | android:layout_width="match_parent" |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 33 | android:layout_height="wrap_content" |
| 34 | android:orientation="vertical"> |
| 35 | <TextView |
| 36 | android:layout_width="match_parent" |
| 37 | android:layout_height="wrap_content" |
Sami Tolvanen | 63af7fc | 2014-10-16 15:19:17 -0700 | [diff] [blame] | 38 | android:includeFontPadding="false" |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 39 | android:textSize="18sp" |
| 40 | android:text="@string/master_clear_desc" /> |
Kenny Root | 3785e39 | 2011-01-18 15:14:32 -0800 | [diff] [blame] | 41 | <TextView android:id="@+id/also_erases_external" |
| 42 | android:layout_width="match_parent" |
| 43 | android:layout_height="wrap_content" |
Sami Tolvanen | 63af7fc | 2014-10-16 15:19:17 -0700 | [diff] [blame] | 44 | android:includeFontPadding="false" |
Kenny Root | 3785e39 | 2011-01-18 15:14:32 -0800 | [diff] [blame] | 45 | android:visibility="gone" |
| 46 | android:textSize="18sp" |
| 47 | android:text="@string/master_clear_desc_also_erases_external" /> |
Joe Onorato | b51886d | 2010-11-08 18:25:51 -0800 | [diff] [blame] | 48 | <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 Yamasani | 3f45de5 | 2011-09-22 14:34:17 -0700 | [diff] [blame] | 58 | 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-Ban | 7cc1b9e | 2014-10-24 18:03:18 +0100 | [diff] [blame] | 62 | <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 Root | 3785e39 | 2011-01-18 15:14:32 -0800 | [diff] [blame] | 68 | <TextView android:id="@+id/erase_external_option_text" |
Joe Onorato | b51886d | 2010-11-08 18:25:51 -0800 | [diff] [blame] | 69 | 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 Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 73 | <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 Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 82 | android:layout_gravity="center_vertical" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 83 | android:paddingEnd="8dp" |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 84 | 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 Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 89 | android:layout_gravity="center_vertical" |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 90 | 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> |
qingxi | 072f286 | 2017-04-11 18:28:40 -0700 | [diff] [blame] | 105 | <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 Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 137 | </LinearLayout> |
Henrik Tuszynski | de6007c | 2010-05-12 08:44:09 +0200 | [diff] [blame] | 138 | </ScrollView> |
| 139 | <Button |
| 140 | android:id="@+id/initiate_master_clear" |
| 141 | android:layout_gravity="center_horizontal" |
| 142 | android:layout_marginTop="20dip" |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 143 | android:layout_marginBottom="12dip" |
| 144 | android:layout_width="wrap_content" |
Henrik Tuszynski | de6007c | 2010-05-12 08:44:09 +0200 | [diff] [blame] | 145 | android:layout_height="wrap_content" |
| 146 | android:text="@string/master_clear_button_text" |
| 147 | android:gravity="center" /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 148 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 149 | </LinearLayout> |