diff options
| author | Matthew Wong <wongma@protonmail.ch> | 2015-08-09 16:04:09 -0400 |
|---|---|---|
| committer | Matthew Wong <wongma@protonmail.ch> | 2015-08-14 17:36:48 -0400 |
| commit | ad173d9d05c29790d6f647df641e5de28e32fd58 (patch) | |
| tree | 4cbf4579d39392c2d647459eec10ff7f95466a7e /app/src/main/res/layout | |
| parent | 51a05087e5a349afa3f4e0febdc3a339179e9bbd (diff) | |
| download | HardenedPass-ad173d9d05c29790d6f647df641e5de28e32fd58.tar.gz HardenedPass-ad173d9d05c29790d6f647df641e5de28e32fd58.zip | |
Autofill per-app settings dialog opens on click on suggestion or on existing app
Diffstat (limited to 'app/src/main/res/layout')
| -rw-r--r-- | app/src/main/res/layout/autofill_recycler_view.xml | 6 | ||||
| -rw-r--r-- | app/src/main/res/layout/fragment_autofill.xml | 52 |
2 files changed, 56 insertions, 2 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 |
