Tweak Factory reset page for Material Next style
- Change Text appearences Bug: 189389716 Test: Visual Change-Id: I0bcc40c62892c12f9c3dcd74873906d96b392e86
This commit is contained in:
@@ -27,40 +27,39 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:id="@+id/main_clear_scrollview"
|
android:id="@+id/main_clear_scrollview"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent">
|
||||||
android:layout_marginStart="@dimen/reset_main_clear_margin_start"
|
|
||||||
android:layout_marginEnd="@dimen/reset_main_clear_margin_end">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/main_clear_container"
|
android:id="@+id/main_clear_container"
|
||||||
style="@style/SudContentFrame"
|
style="@style/SudContentFrame"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:id="@+id/sud_layout_description"
|
android:id="@+id/sud_layout_description"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/main_clear_desc"/>
|
android:text="@string/main_clear_desc"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/also_erases_external"
|
android:id="@+id/also_erases_external"
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:text="@string/main_clear_desc_also_erases_external"/>
|
android:text="@string/main_clear_desc_also_erases_external"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/also_erases_esim"
|
android:id="@+id/also_erases_esim"
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:text="@string/main_clear_desc_also_erases_esim"/>
|
android:text="@string/main_clear_desc_also_erases_esim"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/accounts_label"
|
android:id="@+id/accounts_label"
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
@@ -76,21 +75,21 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/other_users_present"
|
android:id="@+id/other_users_present"
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:text="@string/main_clear_other_users_present"/>
|
android:text="@string/main_clear_other_users_present"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/no_cancel_mobile_plan"
|
android:id="@+id/no_cancel_mobile_plan"
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:text="@string/main_clear_desc_no_cancel_mobile_plan"/>
|
android:text="@string/main_clear_desc_no_cancel_mobile_plan"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/erase_external_option_text"
|
android:id="@+id/erase_external_option_text"
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/main_clear_desc_erase_external_storage"/>
|
android:text="@string/main_clear_desc_erase_external_storage"/>
|
||||||
@@ -116,12 +115,12 @@
|
|||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/TextAppearance.SudGlifItemTitle"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/erase_external_storage"/>
|
android:text="@string/erase_external_storage"/>
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"
|
style="?android:attr/textAppearanceListItemSecondary"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/erase_external_storage_description"/>
|
android:text="@string/erase_external_storage_description"/>
|
||||||
|
@@ -4,9 +4,9 @@
|
|||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
@@ -30,6 +30,6 @@
|
|||||||
android:id="@android:id/title"
|
android:id="@android:id/title"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
style="@style/TextAppearance.SudGlifItemSummary"/>
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/sud_layout_description"
|
android:id="@+id/sud_layout_description"
|
||||||
style="@style/SudItemTitle.GlifDescription"
|
style="@style/TextAppearance.PreferenceTitle.SettingsLib"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/main_clear_final_desc"/>
|
android:text="@string/main_clear_final_desc"/>
|
||||||
|
@@ -327,8 +327,6 @@
|
|||||||
<!-- Margin for the reset screens -->
|
<!-- Margin for the reset screens -->
|
||||||
<dimen name="reset_network_margin_start">72dp</dimen>
|
<dimen name="reset_network_margin_start">72dp</dimen>
|
||||||
<dimen name="reset_network_margin_end">12dp</dimen>
|
<dimen name="reset_network_margin_end">12dp</dimen>
|
||||||
<dimen name="reset_main_clear_margin_start">32dp</dimen>
|
|
||||||
<dimen name="reset_main_clear_margin_end">12dp</dimen>
|
|
||||||
<dimen name="reset_button_margin_end">20dp</dimen>
|
<dimen name="reset_button_margin_end">20dp</dimen>
|
||||||
|
|
||||||
<!-- Padding for the reset screens -->
|
<!-- Padding for the reset screens -->
|
||||||
|
@@ -28,9 +28,7 @@
|
|||||||
<ScrollView
|
<ScrollView
|
||||||
android:id="@+id/main_clear_scrollview"
|
android:id="@+id/main_clear_scrollview"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent">
|
||||||
android:layout_marginStart="@dimen/reset_main_clear_margin_start"
|
|
||||||
android:layout_marginEnd="@dimen/reset_main_clear_margin_end">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/main_clear_container"
|
android:id="@+id/main_clear_container"
|
||||||
|
Reference in New Issue
Block a user