Index: chrome/android/java/res/xml/autofill_wallet_preferences.xml |
diff --git a/chrome/android/java/res/xml/autofill_wallet_preferences.xml b/chrome/android/java/res/xml/autofill_wallet_preferences.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..55f1b364d9edc1df342237eea99b445dd21211f7 |
--- /dev/null |
+++ b/chrome/android/java/res/xml/autofill_wallet_preferences.xml |
@@ -0,0 +1,34 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- |
+ Copyright 2015 The Chromium Authors. All rights reserved. |
+ |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. |
+--> |
+ |
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
+ xmlns:app="http://schemas.android.com/apk/res-auto" > |
+ |
+ <org.chromium.chrome.browser.preferences.ChromeSwitchPreference |
+ android:key="autofill_wallet_switch" |
+ android:summaryOn="@string/text_on" |
+ android:summaryOff="@string/text_off" /> |
+ |
+ <org.chromium.chrome.browser.preferences.TextMessagePreference |
+ android:title="@string/autofill_wallet_description" /> |
+ |
+ <!-- TODO(estade): Surprisingly, HyperlinkPreference does not actually look like a link. |
+ We should either fix HyperlinkPreference or copy the technique used by |
+ data_reduction_learn_more. --> |
+ <org.chromium.chrome.browser.preferences.HyperlinkPreference |
+ android:title="@string/autofill_wallet_management_link_text" |
+ app:url="@string/autofill_manage_wallet_cards_url" /> |
+ |
+ <org.chromium.chrome.browser.preferences.TextMessagePreference |
+ android:title="@string/autofill_wallet_cache_explanation" /> |
+ |
+ <org.chromium.chrome.browser.preferences.ButtonPreference |
+ android:key="autofill_clear_unmasked_cards" |
+ android:title="@string/autofill_wallet_clear_unmasked_cards" /> |
+ |
+</PreferenceScreen> |