aboutsummaryrefslogtreecommitdiff
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/layout/autofill_recycler_view.xml6
-rw-r--r--app/src/main/res/layout/fragment_autofill.xml52
-rw-r--r--app/src/main/res/xml/preference.xml2
3 files changed, 57 insertions, 3 deletions
diff --git a/app/src/main/res/layout/autofill_recycler_view.xml b/app/src/main/res/layout/autofill_recycler_view.xml
index 98ff779d..6130fd1a 100644
--- a/app/src/main/res/layout/autofill_recycler_view.xml
+++ b/app/src/main/res/layout/autofill_recycler_view.xml
@@ -2,13 +2,15 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:focusable="true"
+ android:focusableInTouchMode="true">
<SearchView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/app_search"
- android:queryHint="Add an app to configure"
+ android:queryHint="Add an app to change its autofill setting"
android:iconifiedByDefault="false"/>
<android.support.v7.widget.RecyclerView
diff --git a/app/src/main/res/layout/fragment_autofill.xml b/app/src/main/res/layout/fragment_autofill.xml
new file mode 100644
index 00000000..6ad44a0d
--- /dev/null
+++ b/app/src/main/res/layout/fragment_autofill.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin">
+
+ <RadioGroup
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/autofill_radiogroup"
+ >
+
+ <RadioButton
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Automatically match with password"
+ android:id="@+id/first"
+ android:layout_gravity="center_vertical"
+ android:checked="false"/>
+
+ <RadioButton
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Match with..."
+ android:id="@+id/match"
+ android:layout_gravity="center_vertical"
+ android:checked="false"
+ android:layout_marginTop="8dp"/>
+
+ <EditText
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/matched"
+ android:layout_gravity="center_horizontal"
+ android:editable="false"/>
+
+ <RadioButton
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Never autofill"
+ android:id="@+id/never"
+ android:layout_gravity="center_vertical"
+ android:checked="false"
+ android:layout_marginTop="8dp"/>
+
+ </RadioGroup>
+
+</LinearLayout> \ 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 3a8c4fdf..538f0387 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -74,7 +74,7 @@
<PreferenceCategory android:title="Autofill">
<Preference
android:key="autofill_apps"
- android:summary="Configure behaviour of autofill for specific apps."
+ android:summary="Customize autofill settings for specific apps."
android:title="Autofill Apps"/>
</PreferenceCategory>