aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorMatthew Wong <wongma@protonmail.ch>2015-11-07 16:25:22 -0500
committerMatthew Wong <wongma@protonmail.ch>2015-11-07 20:17:44 -0500
commit8fa173e7d206c2ddff19890d96dbdb2edf6c9139 (patch)
treeba1a3e8127540b043828117513ccdf2c09fb0c99 /app/src/main/res
parent72e32c95f6fffca62ebb4312e2730042e552ed92 (diff)
set and pick from multiple passwords per app
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_autofill.xml113
1 files changed, 61 insertions, 52 deletions
diff --git a/app/src/main/res/layout/fragment_autofill.xml b/app/src/main/res/layout/fragment_autofill.xml
index 7bdf3d84..007147da 100644
--- a/app/src/main/res/layout/fragment_autofill.xml
+++ b/app/src/main/res/layout/fragment_autofill.xml
@@ -1,57 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingBottom="20dp"
- android:paddingLeft="24dp"
- android:paddingRight="24dp"
- android:paddingTop="20dp">
-
- <RadioGroup
- android:id="@+id/autofill_radiogroup"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- <RadioButton
- android:id="@+id/use_default"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:checked="false"
- android:text="@string/autofill_apps_default" />
-
- <RadioButton
- android:id="@+id/first"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:checked="false"
- android:text="@string/autofill_apps_first" />
-
- <RadioButton
- android:id="@+id/match"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:checked="false"
- android:text="@string/autofill_apps_match_ellipsis" />
-
- <EditText
- android:id="@+id/matched"
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:paddingBottom="20dp"
+ android:paddingLeft="24dp"
+ android:paddingRight="24dp"
+ android:paddingTop="20dp">
+
+ <RadioGroup
+ android:id="@+id/autofill_radiogroup"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:editable="false" />
+ android:layout_height="wrap_content">
+
+ <RadioButton
+ android:id="@+id/use_default"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:checked="false"
+ android:text="@string/autofill_apps_default" />
+
+ <RadioButton
+ android:id="@+id/first"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:checked="false"
+ android:text="@string/autofill_apps_first" />
+
+ <RadioButton
+ android:id="@+id/match"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:checked="false"
+ android:text="@string/autofill_apps_match_ellipsis" />
+
+ <ListView
+ android:id="@+id/matched"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_weight="1"/>
+
+ <Button
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="+"
+ android:id="@+id/matchButton"
+ android:layout_gravity="center_horizontal"/>
- <RadioButton
- android:id="@+id/never"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:checked="false"
- android:text="@string/autofill_apps_never" />
+ <RadioButton
+ android:id="@+id/never"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:checked="false"
+ android:text="@string/autofill_apps_never"/>
- </RadioGroup>
+ </RadioGroup>
-</LinearLayout> \ No newline at end of file
+ </LinearLayout> \ No newline at end of file