Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2804)

Unified Diff: chrome/android/java/res/xml/autofill_and_payments_preferences.xml

Issue 2636023002: [Autofill and payments] Redesign Autofill settings UIs (Closed)
Patch Set: no need refresh in onCreate Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/xml/autofill_and_payments_preferences.xml
diff --git a/chrome/android/java/res/xml/autofill_preferences.xml b/chrome/android/java/res/xml/autofill_and_payments_preferences.xml
similarity index 56%
rename from chrome/android/java/res/xml/autofill_preferences.xml
rename to chrome/android/java/res/xml/autofill_and_payments_preferences.xml
index c87ae8e648aa221315562b5e9bd4711784c8a3d1..400520a0de85a3eafa32c52a3658e7310197dfe4 100644
--- a/chrome/android/java/res/xml/autofill_preferences.xml
+++ b/chrome/android/java/res/xml/autofill_and_payments_preferences.xml
@@ -7,23 +7,16 @@
<org.chromium.chrome.browser.preferences.ChromeSwitchPreference
android:key="autofill_switch"
- android:summaryOn="@string/text_on"
- android:summaryOff="@string/text_off" />
+ android:title="@string/autofill_switch"/>
gone 2017/01/23 21:26:16 space before />
gogerald1 2017/01/23 22:04:17 Done.
- <org.chromium.chrome.browser.preferences.PreferenceCategoryWithButton
+ <Preference
android:key="autofill_profiles"
- android:enabled="true"
android:title="@string/autofill_profiles_title"
- android:fragment="org.chromium.chrome.browser.preferences.autofill.AutofillProfileEditor"
- android:contentDescription="@string/autofill_create_profile"
- />
+ android:fragment="org.chromium.chrome.browser.preferences.autofill.AutofillProfilesFragment"/>
gone 2017/01/23 21:26:16 space before />
gogerald1 2017/01/23 22:04:17 Done.
- <org.chromium.chrome.browser.preferences.PreferenceCategoryWithButton
+ <Preference
android:key="autofill_credit_cards"
- android:enabled="true"
android:title="@string/autofill_credit_cards_title"
- android:fragment="org.chromium.chrome.browser.preferences.autofill.AutofillLocalCardEditor"
- android:contentDescription="@string/autofill_create_credit_card"
- />
+ android:fragment="org.chromium.chrome.browser.preferences.autofill.AutofillCreditCardsFragment"/>
gone 2017/01/23 21:26:17 Ditto
gogerald1 2017/01/23 22:04:17 Done.
-</PreferenceScreen>
+</PreferenceScreen>

Powered by Google App Engine
This is Rietveld 408576698