blob: 04c8f8dbe7e60fdb9dc26f9b3dba0c4eb6178c3e [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
Fan Zhanga0450c72017-10-09 15:11:42 -07007
Amith Yamasanib14e1e02010-11-02 09:52:29 -07008 http://www.apache.org/licenses/LICENSE-2.0
Fan Zhanga0450c72017-10-09 15:11:42 -07009
Amith Yamasanib14e1e02010-11-02 09:52:29 -070010 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
Pasty Changc1f86002018-12-11 02:22:55 +000017<com.google.android.setupdesign.GlifLayout
felkachanga6cec472018-03-29 12:08:20 +080018 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 Yamasanib14e1e02010-11-02 09:52:29 -070021 android:layout_width="match_parent"
22 android:layout_height="match_parent"
felkachanga6cec472018-03-29 12:08:20 +080023 android:orientation="vertical"
Yanting Yang156b3f32019-05-24 22:36:32 +080024 android:theme="@style/GlifV3Theme.Footer"
felkachanga6cec472018-03-29 12:08:20 +080025 android:icon="@drawable/ic_delete_accent"
pastychang79614822019-01-03 10:12:54 +080026 app:sucHeaderText="@string/master_clear_title">
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080027
Henrik Tuszynskide6007c2010-05-12 08:44:09 +020028 <ScrollView
felkachanga6cec472018-03-29 12:08:20 +080029 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 Zhanga0450c72017-10-09 15:11:42 -070035 <LinearLayout
36 android:id="@+id/master_clear_container"
pastychang79614822019-01-03 10:12:54 +080037 style="@style/SudContentFrame"
Fan Zhanga0450c72017-10-09 15:11:42 -070038 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:orientation="vertical">
felkachanga6cec472018-03-29 12:08:20 +080041
Dianne Hackborn1337d0f2010-10-14 11:58:30 -070042 <TextView
pastychang79614822019-01-03 10:12:54 +080043 style="@style/TextAppearance.SudGlifItemSummary"
pastychangfa68ec42019-04-12 16:22:17 +080044 android:id="@+id/sud_layout_description"
Dianne Hackborn1337d0f2010-10-14 11:58:30 -070045 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
felkachanga6cec472018-03-29 12:08:20 +080047 android:text="@string/master_clear_desc"/>
48 <TextView
49 android:id="@+id/also_erases_external"
pastychang79614822019-01-03 10:12:54 +080050 style="@style/TextAppearance.SudGlifItemSummary"
Kenny Root3785e392011-01-18 15:14:32 -080051 android:layout_width="match_parent"
52 android:layout_height="wrap_content"
53 android:visibility="gone"
felkachanga6cec472018-03-29 12:08:20 +080054 android:text="@string/master_clear_desc_also_erases_external"/>
55 <TextView
56 android:id="@+id/also_erases_esim"
pastychang79614822019-01-03 10:12:54 +080057 style="@style/TextAppearance.SudGlifItemSummary"
Jeff Davidsona0b84722017-07-26 17:38:41 -070058 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
Jeff Davidsona0b84722017-07-26 17:38:41 -070060 android:visibility="gone"
felkachanga6cec472018-03-29 12:08:20 +080061 android:text="@string/master_clear_desc_also_erases_esim"/>
62 <TextView
63 android:id="@+id/accounts_label"
pastychang79614822019-01-03 10:12:54 +080064 style="@style/TextAppearance.SudGlifItemSummary"
Joe Onoratob51886d2010-11-08 18:25:51 -080065 android:layout_width="match_parent"
66 android:layout_height="wrap_content"
67 android:visibility="gone"
felkachanga6cec472018-03-29 12:08:20 +080068 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 Yamasani3f45de52011-09-22 14:34:17 -070075 <!-- 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>
felkachanga6cec472018-03-29 12:08:20 +080078 <TextView
79 android:id="@+id/other_users_present"
pastychang79614822019-01-03 10:12:54 +080080 style="@style/TextAppearance.SudGlifItemSummary"
Zoltan Szatmary-Ban7cc1b9e2014-10-24 18:03:18 +010081 android:layout_width="match_parent"
82 android:layout_height="wrap_content"
83 android:visibility="gone"
felkachanga6cec472018-03-29 12:08:20 +080084 android:text="@string/master_clear_other_users_present"/>
85 <TextView
86 android:id="@+id/no_cancel_mobile_plan"
pastychang79614822019-01-03 10:12:54 +080087 style="@style/TextAppearance.SudGlifItemSummary"
Jeff Davidsona0b84722017-07-26 17:38:41 -070088 android:layout_width="match_parent"
89 android:layout_height="wrap_content"
90 android:visibility="gone"
felkachanga6cec472018-03-29 12:08:20 +080091 android:text="@string/master_clear_desc_no_cancel_mobile_plan"/>
92 <TextView
93 android:id="@+id/erase_external_option_text"
pastychang79614822019-01-03 10:12:54 +080094 style="@style/TextAppearance.SudGlifItemSummary"
Joe Onoratob51886d2010-11-08 18:25:51 -080095 android:layout_width="match_parent"
96 android:layout_height="wrap_content"
felkachanga6cec472018-03-29 12:08:20 +080097 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"
pastychang79614822019-01-03 10:12:54 +0800107 style="@style/SudCheckBox"
felkachanga6cec472018-03-29 12:08:20 +0800108 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 Hackborn1337d0f2010-10-14 11:58:30 -0700115 android:layout_width="match_parent"
116 android:layout_height="wrap_content"
felkachanga6cec472018-03-29 12:08:20 +0800117 android:layout_gravity="center_vertical"
118 android:orientation="vertical">
Dianne Hackborn1337d0f2010-10-14 11:58:30 -0700119 <TextView
pastychang79614822019-01-03 10:12:54 +0800120 style="@style/TextAppearance.SudGlifItemTitle"
Dianne Hackborn1337d0f2010-10-14 11:58:30 -0700121 android:layout_width="wrap_content"
122 android:layout_height="wrap_content"
felkachanga6cec472018-03-29 12:08:20 +0800123 android:text="@string/erase_external_storage"/>
Dianne Hackborn1337d0f2010-10-14 11:58:30 -0700124 <TextView
pastychang79614822019-01-03 10:12:54 +0800125 style="@style/TextAppearance.SudGlifItemSummary"
Dianne Hackborn1337d0f2010-10-14 11:58:30 -0700126 android:layout_width="wrap_content"
127 android:layout_height="wrap_content"
felkachanga6cec472018-03-29 12:08:20 +0800128 android:text="@string/erase_external_storage_description"/>
Dianne Hackborn1337d0f2010-10-14 11:58:30 -0700129 </LinearLayout>
130 </LinearLayout>
Hunter Knepshielde8e86e62019-03-14 15:04:36 -0700131
132 <include layout="@layout/reset_esim_checkbox"/>
133
Dianne Hackborn1337d0f2010-10-14 11:58:30 -0700134 </LinearLayout>
Henrik Tuszynskide6007c2010-05-12 08:44:09 +0200135 </ScrollView>
Pasty Changc1f86002018-12-11 02:22:55 +0000136</com.google.android.setupdesign.GlifLayout>