diff options
author | Ryan Hansberry <hansberry@google.com> | 2015-10-21 14:15:28 -0700 |
---|---|---|
committer | Ryan Hansberry <hansberry@google.com> | 2015-10-21 14:16:46 -0700 |
commit | 23f041015931cfc7acd440969b805e2009466e2b (patch) | |
tree | b4ca0b9684df379f635f116ced83c36d6ba8e515 | |
parent | 9c9c1029ffe1de58bbd63b57965e2b0274d89f8d (diff) | |
download | connectbot-23f041015931cfc7acd440969b805e2009466e2b.tar.gz connectbot-23f041015931cfc7acd440969b805e2009466e2b.tar.bz2 connectbot-23f041015931cfc7acd440969b805e2009466e2b.zip |
Use the ListItemIcon style on HostList and PubkeyList icons.
-rw-r--r-- | app/src/main/res/layout/item_host.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/item_pubkey.xml | 9 |
2 files changed, 3 insertions, 12 deletions
diff --git a/app/src/main/res/layout/item_host.xml b/app/src/main/res/layout/item_host.xml index 6059393..0ea220e 100644 --- a/app/src/main/res/layout/item_host.xml +++ b/app/src/main/res/layout/item_host.xml @@ -30,13 +30,9 @@ android:id="@android:id/icon" android:layout_width="40dp" android:layout_height="40dp" - android:layout_alignParentStart="true" - android:layout_alignParentLeft="true" - android:layout_centerVertical="true" - android:layout_marginStart="16dp" - android:layout_marginLeft="16dp" android:contentDescription="@string/image_description_connected" android:src="@drawable/connected" + style="@style/ListItemIcon" /> <LinearLayout diff --git a/app/src/main/res/layout/item_pubkey.xml b/app/src/main/res/layout/item_pubkey.xml index 565d099..1fb4cae 100644 --- a/app/src/main/res/layout/item_pubkey.xml +++ b/app/src/main/res/layout/item_pubkey.xml @@ -31,14 +31,9 @@ android:id="@android:id/icon" android:layout_width="40dp" android:layout_height="40dp" - android:layout_alignParentStart="true" - android:layout_alignParentLeft="true" - android:layout_centerVertical="true" - android:layout_marginStart="16dp" - android:layout_marginLeft="16dp" android:contentDescription="@string/image_description_key_is_locked" - android:src="@drawable/pubkey"/> - /> + android:src="@drawable/pubkey" + style="@style/ListItemIcon"/> <LinearLayout android:layout_width="wrap_content" |