aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDSIW <dsiw@dsiw-it.de>2016-06-10 04:49:35 +0200
committerDSIW <dsiw@dsiw-it.de>2016-06-10 04:50:56 +0200
commit0e700ce21b042030f41d3c488807afb925461f08 (patch)
treef40909c11af720c3c3a4c4bc4707c29bdf0d045e /app/src/main/res
parent09f12c81c12ed1993446e98779661d25ced42ad3 (diff)
Add icons to list item
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable-hdpi/ic_action_secure.pngbin0 -> 394 bytes
-rw-r--r--app/src/main/res/drawable-hdpi/ic_folder_grey600_24dp.pngbin0 -> 140 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_action_secure.pngbin0 -> 317 bytes
-rw-r--r--app/src/main/res/drawable-mdpi/ic_folder_grey600_24dp.pngbin0 -> 123 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_action_secure.pngbin0 -> 510 bytes
-rw-r--r--app/src/main/res/drawable-xhdpi/ic_folder_grey600_24dp.pngbin0 -> 194 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_action_secure.pngbin0 -> 624 bytes
-rw-r--r--app/src/main/res/drawable-xxhdpi/ic_folder_grey600_24dp.pngbin0 -> 259 bytes
-rw-r--r--app/src/main/res/layout/password_row_layout.xml34
9 files changed, 22 insertions, 12 deletions
diff --git a/app/src/main/res/drawable-hdpi/ic_action_secure.png b/app/src/main/res/drawable-hdpi/ic_action_secure.png
new file mode 100644
index 00000000..287ae2fb
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_action_secure.png
Binary files differ
diff --git a/app/src/main/res/drawable-hdpi/ic_folder_grey600_24dp.png b/app/src/main/res/drawable-hdpi/ic_folder_grey600_24dp.png
new file mode 100644
index 00000000..afb9b31e
--- /dev/null
+++ b/app/src/main/res/drawable-hdpi/ic_folder_grey600_24dp.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_action_secure.png b/app/src/main/res/drawable-mdpi/ic_action_secure.png
new file mode 100644
index 00000000..d4921723
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_action_secure.png
Binary files differ
diff --git a/app/src/main/res/drawable-mdpi/ic_folder_grey600_24dp.png b/app/src/main/res/drawable-mdpi/ic_folder_grey600_24dp.png
new file mode 100644
index 00000000..88cb71c3
--- /dev/null
+++ b/app/src/main/res/drawable-mdpi/ic_folder_grey600_24dp.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_action_secure.png b/app/src/main/res/drawable-xhdpi/ic_action_secure.png
new file mode 100644
index 00000000..2a089838
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_action_secure.png
Binary files differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_folder_grey600_24dp.png b/app/src/main/res/drawable-xhdpi/ic_folder_grey600_24dp.png
new file mode 100644
index 00000000..7f135821
--- /dev/null
+++ b/app/src/main/res/drawable-xhdpi/ic_folder_grey600_24dp.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_action_secure.png b/app/src/main/res/drawable-xxhdpi/ic_action_secure.png
new file mode 100644
index 00000000..d8c094ed
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_action_secure.png
Binary files differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_folder_grey600_24dp.png b/app/src/main/res/drawable-xxhdpi/ic_folder_grey600_24dp.png
new file mode 100644
index 00000000..5ab94892
--- /dev/null
+++ b/app/src/main/res/drawable-xxhdpi/ic_folder_grey600_24dp.png
Binary files differ
diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml
index 0b877934..ce69051c 100644
--- a/app/src/main/res/layout/password_row_layout.xml
+++ b/app/src/main/res/layout/password_row_layout.xml
@@ -3,30 +3,40 @@
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="0dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="0dp">
+ android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="8dp"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
android:gravity="left">
+ <ImageView
+ android:layout_width="40dp"
+ android:layout_height="32dp"
+ android:id="@+id/type_image"
+ android:src="@drawable/ic_folder_grey600_24dp"
+ android:alpha="0.5"
+ android:layout_centerVertical="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
+ android:paddingRight="8dp" />
+
<TextView
android:id="@+id/type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:alpha="0.5"
android:maxLines="1"
android:ellipsize="start"
android:text="TYPE"
android:textSize="14dp"
- android:textColor="@android:color/black"
- android:layout_alignParentTop="true"
- android:layout_alignLeft="@+id/label"
- android:layout_alignStart="@+id/label" />
+ android:textColor="@color/grey_500"
+ android:layout_alignTop="@+id/type_image"
+ android:layout_toRightOf="@+id/type_image"
+ android:layout_toEndOf="@+id/type_image" />
<TextView
android:id="@+id/label"
@@ -37,8 +47,8 @@
android:textColor="@android:color/black"
android:textSize="18dp"
android:layout_below="@+id/type"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true" />
+ android:layout_alignLeft="@+id/type"
+ android:layout_alignStart="@+id/type" />
</RelativeLayout>
</LinearLayout> \ No newline at end of file