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 |
Fan Zhang | a0450c7 | 2017-10-09 15:11:42 -0700 | [diff] [blame] | 7 | |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Fan Zhang | a0450c7 | 2017-10-09 15:11:42 -0700 | [diff] [blame] | 9 | |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 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 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 17 | <com.google.android.setupdesign.GlifLayout |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 20 | android:id="@+id/setup_wizard_layout" |
Amith Yamasani | b14e1e0 | 2010-11-02 09:52:29 -0700 | [diff] [blame] | 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 23 | android:orientation="vertical" |
Yanting Yang | 156b3f3 | 2019-05-24 22:36:32 +0800 | [diff] [blame] | 24 | android:theme="@style/GlifV3Theme.Footer" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 25 | android:icon="@drawable/ic_delete_accent" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 26 | app:sucHeaderText="@string/master_clear_title"> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 27 | |
Henrik Tuszynski | de6007c | 2010-05-12 08:44:09 +0200 | [diff] [blame] | 28 | <ScrollView |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 29 | android:id="@+id/master_clear_scrollview" |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="match_parent" |
| 32 | android:layout_marginStart="@dimen/reset_master_clear_margin_start" |
| 33 | android:layout_marginEnd="@dimen/reset_master_clear_margin_end"> |
| 34 | |
Fan Zhang | a0450c7 | 2017-10-09 15:11:42 -0700 | [diff] [blame] | 35 | <LinearLayout |
| 36 | android:id="@+id/master_clear_container" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 37 | style="@style/SudContentFrame" |
Fan Zhang | a0450c7 | 2017-10-09 15:11:42 -0700 | [diff] [blame] | 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:orientation="vertical"> |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 41 | |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 42 | <TextView |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 43 | style="@style/TextAppearance.SudGlifItemSummary" |
pastychang | fa68ec4 | 2019-04-12 16:22:17 +0800 | [diff] [blame] | 44 | android:id="@+id/sud_layout_description" |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="wrap_content" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 47 | android:text="@string/master_clear_desc"/> |
| 48 | <TextView |
| 49 | android:id="@+id/also_erases_external" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 50 | style="@style/TextAppearance.SudGlifItemSummary" |
Kenny Root | 3785e39 | 2011-01-18 15:14:32 -0800 | [diff] [blame] | 51 | android:layout_width="match_parent" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:visibility="gone" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 54 | android:text="@string/master_clear_desc_also_erases_external"/> |
| 55 | <TextView |
| 56 | android:id="@+id/also_erases_esim" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 57 | style="@style/TextAppearance.SudGlifItemSummary" |
Jeff Davidson | a0b8472 | 2017-07-26 17:38:41 -0700 | [diff] [blame] | 58 | android:layout_width="match_parent" |
| 59 | android:layout_height="wrap_content" |
Jeff Davidson | a0b8472 | 2017-07-26 17:38:41 -0700 | [diff] [blame] | 60 | android:visibility="gone" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 61 | android:text="@string/master_clear_desc_also_erases_esim"/> |
| 62 | <TextView |
| 63 | android:id="@+id/accounts_label" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 64 | style="@style/TextAppearance.SudGlifItemSummary" |
Joe Onorato | b51886d | 2010-11-08 18:25:51 -0800 | [diff] [blame] | 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:visibility="gone" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 68 | android:text="@string/master_clear_accounts"/> |
| 69 | <LinearLayout |
| 70 | android:id="@+id/accounts" |
| 71 | android:layout_width="wrap_content" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:orientation="vertical" |
| 74 | android:visibility="gone"> |
Amith Yamasani | 3f45de5 | 2011-09-22 14:34:17 -0700 | [diff] [blame] | 75 | <!-- Do not add any children here as they will be removed in the MasterClear.java |
| 76 | code. A list of accounts will be inserted programmatically. --> |
| 77 | </LinearLayout> |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 78 | <TextView |
| 79 | android:id="@+id/other_users_present" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 80 | style="@style/TextAppearance.SudGlifItemSummary" |
Zoltan Szatmary-Ban | 7cc1b9e | 2014-10-24 18:03:18 +0100 | [diff] [blame] | 81 | android:layout_width="match_parent" |
| 82 | android:layout_height="wrap_content" |
| 83 | android:visibility="gone" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 84 | android:text="@string/master_clear_other_users_present"/> |
| 85 | <TextView |
| 86 | android:id="@+id/no_cancel_mobile_plan" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 87 | style="@style/TextAppearance.SudGlifItemSummary" |
Jeff Davidson | a0b8472 | 2017-07-26 17:38:41 -0700 | [diff] [blame] | 88 | android:layout_width="match_parent" |
| 89 | android:layout_height="wrap_content" |
| 90 | android:visibility="gone" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 91 | android:text="@string/master_clear_desc_no_cancel_mobile_plan"/> |
| 92 | <TextView |
| 93 | android:id="@+id/erase_external_option_text" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 94 | style="@style/TextAppearance.SudGlifItemSummary" |
Joe Onorato | b51886d | 2010-11-08 18:25:51 -0800 | [diff] [blame] | 95 | android:layout_width="match_parent" |
| 96 | android:layout_height="wrap_content" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 97 | android:text="@string/master_clear_desc_erase_external_storage"/> |
| 98 | <LinearLayout |
| 99 | android:id="@+id/erase_external_container" |
| 100 | android:layout_width="match_parent" |
| 101 | android:layout_height="wrap_content" |
| 102 | android:orientation="horizontal" |
| 103 | android:focusable="true" |
| 104 | android:clickable="true"> |
| 105 | <CheckBox |
| 106 | android:id="@+id/erase_external" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 107 | style="@style/SudCheckBox" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 108 | android:layout_width="wrap_content" |
| 109 | android:layout_height="wrap_content" |
| 110 | android:layout_gravity="center_vertical" |
| 111 | android:focusable="false" |
| 112 | android:clickable="false" |
| 113 | android:duplicateParentState="true"/> |
| 114 | <LinearLayout |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 115 | android:layout_width="match_parent" |
| 116 | android:layout_height="wrap_content" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 117 | android:layout_gravity="center_vertical" |
| 118 | android:orientation="vertical"> |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 119 | <TextView |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 120 | style="@style/TextAppearance.SudGlifItemTitle" |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 121 | android:layout_width="wrap_content" |
| 122 | android:layout_height="wrap_content" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 123 | android:text="@string/erase_external_storage"/> |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 124 | <TextView |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 125 | style="@style/TextAppearance.SudGlifItemSummary" |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 126 | android:layout_width="wrap_content" |
| 127 | android:layout_height="wrap_content" |
felkachang | a6cec47 | 2018-03-29 12:08:20 +0800 | [diff] [blame] | 128 | android:text="@string/erase_external_storage_description"/> |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 129 | </LinearLayout> |
| 130 | </LinearLayout> |
Hunter Knepshield | e8e86e6 | 2019-03-14 15:04:36 -0700 | [diff] [blame] | 131 | |
| 132 | <include layout="@layout/reset_esim_checkbox"/> |
| 133 | |
Dianne Hackborn | 1337d0f | 2010-10-14 11:58:30 -0700 | [diff] [blame] | 134 | </LinearLayout> |
Henrik Tuszynski | de6007c | 2010-05-12 08:44:09 +0200 | [diff] [blame] | 135 | </ScrollView> |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 136 | </com.google.android.setupdesign.GlifLayout> |