diff options
| author | Matthew Wong <wongma@protonmail.ch> | 2015-07-31 09:00:06 -0400 |
|---|---|---|
| committer | Matthew Wong <wongma@protonmail.ch> | 2015-08-14 17:36:47 -0400 |
| commit | 2d7c37d379ae48fa3ff464032ad4cb1759b1dc31 (patch) | |
| tree | 3ecaabc58ace429db6fe67d64c2b7a8252baabe4 /app/src/main/res/layout | |
| parent | 4b15ea3ae90fa870c622192cbf89eb5e02db97b6 (diff) | |
| download | HardenedPass-2d7c37d379ae48fa3ff464032ad4cb1759b1dc31.tar.gz HardenedPass-2d7c37d379ae48fa3ff464032ad4cb1759b1dc31.zip | |
Add per-app settings page
Diffstat (limited to 'app/src/main/res/layout')
| -rw-r--r-- | app/src/main/res/layout/autofill_recycler_view.xml | 12 | ||||
| -rw-r--r-- | app/src/main/res/layout/autofill_row_layout.xml | 49 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app/src/main/res/layout/autofill_recycler_view.xml b/app/src/main/res/layout/autofill_recycler_view.xml new file mode 100644 index 00000000..27afa77d --- /dev/null +++ b/app/src/main/res/layout/autofill_recycler_view.xml @@ -0,0 +1,12 @@ +<?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.support.v7.widget.RecyclerView + android:id="@+id/autofill_recycler" + android:scrollbars="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"/> +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/autofill_row_layout.xml b/app/src/main/res/layout/autofill_row_layout.xml new file mode 100644 index 00000000..3f94a8ad --- /dev/null +++ b/app/src/main/res/layout/autofill_row_layout.xml @@ -0,0 +1,49 @@ +<?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="64dp" + android:background="@color/grey_white_1000"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="?android:attr/selectableItemBackground" + android:orientation="horizontal" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:gravity="center_vertical"> + + <ImageView + android:layout_width="48dp" + android:layout_height="48dp" + android:id="@+id/app_icon" + /> + + + <LinearLayout + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:gravity="center_vertical" + android:layout_marginLeft="8dp"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="App" + android:id="@+id/app_name"/> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:text="The matched file.gpg/Don't ask" + android:id="@+id/secondary_text"/> + </LinearLayout> + + + </LinearLayout> + + +</LinearLayout>
\ No newline at end of file |
