aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/autofill_config.xml8
-rw-r--r--app/src/main/res/xml/preference.xml21
2 files changed, 28 insertions, 1 deletions
diff --git a/app/src/main/res/xml/autofill_config.xml b/app/src/main/res/xml/autofill_config.xml
new file mode 100644
index 00000000..a604fc07
--- /dev/null
+++ b/app/src/main/res/xml/autofill_config.xml
@@ -0,0 +1,8 @@
+<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
+ android:description="@string/autofill_description"
+ android:accessibilityEventTypes="typeViewFocused|typeViewClicked|typeWindowStateChanged"
+ android:accessibilityFlags="flagDefault|flagRetrieveInteractiveWindows"
+ android:accessibilityFeedbackType="feedbackGeneric"
+ android:notificationTimeout="100"
+ android:canRetrieveWindowContent="true"
+ /> \ No newline at end of file
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index e4071c96..639fdfe1 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -70,11 +70,30 @@
android:summary="@string/pref_recursive_filter_hint"
android:title="@string/pref_recursive_filter" />
</PreferenceCategory>
+
+ <PreferenceCategory android:title="Autofill">
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="autofill_enable"
+ android:title="@string/pref_autofill_enable_title"/>
+ <Preference
+ android:dependency="autofill_enable"
+ android:key="autofill_apps"
+ android:summary="@string/pref_autofill_apps_hint"
+ android:title="@string/pref_autofill_apps_title"/>
+ <CheckBoxPreference
+ android:dependency="autofill_enable"
+ android:defaultValue="true"
+ android:key="autofill_default"
+ android:summary="@string/pref_autofill_default_hint"
+ android:title="@string/pref_autofill_default_title"/>
+ </PreferenceCategory>
+
<PreferenceCategory android:title="Misc">
<CheckBoxPreference
android:defaultValue="false"
android:key="clear_clipboard_20x"
android:summary="@string/pref_clear_clipboard_hint"
- android:title="@string/pref_clear_clipboard" />
+ android:title="@string/pref_clear_clipboard_title" />
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file