aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/autofill_row_layout.xml
diff options
context:
space:
mode:
authorwongma7 <wongma7@users.noreply.github.com>2015-08-25 13:31:07 -0400
committerwongma7 <wongma7@users.noreply.github.com>2015-08-25 13:31:07 -0400
commit327945f3b8aa56f77559a25bc9160dae0a0cc6d2 (patch)
treec92d1450ee4930cf2b91a7b34efa5c97cee826b7 /app/src/main/res/layout/autofill_row_layout.xml
parenteced1dd314ba651f862396c340492c6f2d9da926 (diff)
parenta73e8625f55e869ba0d74bfa370178c54be3662d (diff)
downloadHardenedPass-327945f3b8aa56f77559a25bc9160dae0a0cc6d2.tar.gz
HardenedPass-327945f3b8aa56f77559a25bc9160dae0a0cc6d2.zip
Merge pull request #117 from zeapo/autofill
Autofill
Diffstat (limited to 'app/src/main/res/layout/autofill_row_layout.xml')
-rw-r--r--app/src/main/res/layout/autofill_row_layout.xml46
1 files changed, 46 insertions, 0 deletions
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..6e51fab3
--- /dev/null
+++ b/app/src/main/res/layout/autofill_row_layout.xml
@@ -0,0 +1,46 @@
+<?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="@drawable/autofill_row_background">
+
+ <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:id="@+id/app_name"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:id="@+id/secondary_text"
+ android:textColor="@color/grey_600"/>
+ </LinearLayout>
+
+ </LinearLayout>
+
+
+</LinearLayout> \ No newline at end of file