From e341f22dc939090d6c74be45cd73d19026023a61 Mon Sep 17 00:00:00 2001 From: Kyle Horimoto Date: Fri, 4 Sep 2015 10:34:12 -0700 Subject: Style the host list items with material design. This change updates the items to be in line with the guideline here: https://www.google.com/design/spec/components/lists.html#lists-specs. --- app/src/main/res/layout-port/item_host.xml | 48 +++++++++++++++++++----------- 1 file changed, 30 insertions(+), 18 deletions(-) (limited to 'app/src/main/res/layout-port') diff --git a/app/src/main/res/layout-port/item_host.xml b/app/src/main/res/layout-port/item_host.xml index 7ee7f0a..d653191 100644 --- a/app/src/main/res/layout-port/item_host.xml +++ b/app/src/main/res/layout-port/item_host.xml @@ -22,36 +22,48 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:padding="10dip" + android:minHeight="72dp" > - + android:layout_alignWithParentIfMissing="true" + android:layout_centerVertical="true" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:orientation="vertical" + > - + + + + \ No newline at end of file -- cgit v1.2.3 From 11ff5ee21103b33dddbc808f468fe32f916937d3 Mon Sep 17 00:00:00 2001 From: Kyle Horimoto Date: Fri, 4 Sep 2015 10:34:12 -0700 Subject: Style the host list items with material design. This change updates the items to be in line with the guideline here: https://www.google.com/design/spec/components/lists.html#lists-specs. --- app/src/main/res/layout-port/item_host.xml | 50 +++++++++++++++++++----------- 1 file changed, 32 insertions(+), 18 deletions(-) (limited to 'app/src/main/res/layout-port') diff --git a/app/src/main/res/layout-port/item_host.xml b/app/src/main/res/layout-port/item_host.xml index 7ee7f0a..c318d38 100644 --- a/app/src/main/res/layout-port/item_host.xml +++ b/app/src/main/res/layout-port/item_host.xml @@ -22,36 +22,50 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:padding="10dip" + android:minHeight="72dp" > - + android:layout_alignParentLeft="true" + android:layout_alignWithParentIfMissing="true" + android:layout_centerVertical="true" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:orientation="vertical" + android:layout_toLeftOf="@android:id/icon" + > - + + + + \ No newline at end of file -- cgit v1.2.3 From ecf0d1459a1544e989774fd9ddab32138905f28e Mon Sep 17 00:00:00 2001 From: Kyle Horimoto Date: Fri, 4 Sep 2015 14:16:32 -0700 Subject: Fix lint errors, make only one file. --- app/src/main/res/layout-port/item_host.xml | 71 ------------------------------ 1 file changed, 71 deletions(-) delete mode 100644 app/src/main/res/layout-port/item_host.xml (limited to 'app/src/main/res/layout-port') diff --git a/app/src/main/res/layout-port/item_host.xml b/app/src/main/res/layout-port/item_host.xml deleted file mode 100644 index e9685b5..0000000 --- a/app/src/main/res/layout-port/item_host.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - -- cgit v1.2.3