From a99bfac06317d2fa120b3dcfc4287a03171a79e5 Mon Sep 17 00:00:00 2001 From: George Venios Date: Tue, 4 Aug 2015 00:12:36 +0100 Subject: [PATCH] Made the device list follow material design guidelines. --- src/main/res/layout/item_device_list.xml | 47 +++++++++++++----------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/src/main/res/layout/item_device_list.xml b/src/main/res/layout/item_device_list.xml index 4a5d41d9..93f5ac1f 100644 --- a/src/main/res/layout/item_device_list.xml +++ b/src/main/res/layout/item_device_list.xml @@ -1,63 +1,66 @@ + android:paddingBottom="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:paddingTop="8dp"> + android:textAppearance="?textAppearanceListItemPrimary" /> + android:layout_alignBottom="@+id/name" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:textAppearance="?textAppearanceListItemSmall" /> + android:layout_below="@id/name" + android:text="@string/download_title_colon" + android:textAppearance="?textAppearanceListItemSecondary" /> + android:layout_alignBaseline="@id/download_title" + android:layout_toEndOf="@id/download_title" + android:layout_toRightOf="@id/download_title" + android:textAppearance="?textAppearanceListItemSecondary" /> + android:layout_below="@id/download_title" + android:text="@string/upload_title_colon" + android:textAppearance="?textAppearanceListItemSecondary" /> + android:layout_alignBaseline="@id/upload_title" + android:layout_toEndOf="@id/upload_title" + android:layout_toRightOf="@id/upload_title" + android:textAppearance="?textAppearanceListItemSecondary" />