summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/preference.xml4
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index db8491e8..f6bb751d 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -370,4 +370,6 @@
<string name="snackbar_action_grant">Grant</string>
<string name="pref_debug_logging_summary">Enable debug logging (requires app restart)</string>
<string name="pref_debug_logging_title">Debug logging</string>
+ <string name="preference_default_username_summary">If Autofill is unable to determine a username from your password file or directory structure, it will use the value specified here</string>
+ <string name="preference_default_username_title">Default username</string>
</resources>
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index e59e1c8c..af55295c 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -13,6 +13,10 @@
app:key="oreo_autofill_directory_structure"
app:title="@string/oreo_autofill_preference_directory_structure"
app:useSimpleSummaryProvider="true" />
+ <EditTextPreference
+ app:key="oreo_autofill_default_username"
+ app:summary="@string/preference_default_username_summary"
+ app:title="@string/preference_default_username_title" />
<Preference
app:key="autofill_apps"
app:title="@string/pref_autofill_apps_title" />