From d5c4d7ab9245c2276544a8c6ac1afc4641b57065 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Thu, 17 Dec 2015 15:49:55 +0100 Subject: [PATCH] Changes from code review --- res/layout-v11/activity_row.xml | 59 ------------ .../notification_with_progress_bar.xml | 69 -------------- res/layout-v14/generic_explanation.xml | 70 --------------- res/layout/activity_row.xml | 6 +- res/layout/drawer.xml | 4 +- res/layout/generic_explanation.xml | 16 ++-- res/layout/log_send_file.xml | 2 +- res/layout/notification_with_progress_bar.xml | 90 +++++++++---------- .../android/ui/activity/FileActivity.java | 2 +- 9 files changed, 61 insertions(+), 257 deletions(-) delete mode 100644 res/layout-v11/activity_row.xml delete mode 100644 res/layout-v11/notification_with_progress_bar.xml delete mode 100644 res/layout-v14/generic_explanation.xml diff --git a/res/layout-v11/activity_row.xml b/res/layout-v11/activity_row.xml deleted file mode 100644 index a85c3ee96a..0000000000 --- a/res/layout-v11/activity_row.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-v11/notification_with_progress_bar.xml b/res/layout-v11/notification_with_progress_bar.xml deleted file mode 100644 index c67b9a9ece..0000000000 --- a/res/layout-v11/notification_with_progress_bar.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout-v14/generic_explanation.xml b/res/layout-v14/generic_explanation.xml deleted file mode 100644 index d90fb8a3c8..0000000000 --- a/res/layout-v14/generic_explanation.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/activity_row.xml b/res/layout/activity_row.xml index 9297bcdbec..a85c3ee96a 100644 --- a/res/layout/activity_row.xml +++ b/res/layout/activity_row.xml @@ -21,9 +21,12 @@ android:id="@+id/list_item" android:layout_width="match_parent" android:layout_height="48dp" + android:paddingStart="16dip" + android:paddingEnd="16dip" android:paddingRight="16dip" android:paddingLeft="16dip" android:minWidth="196dip" + android:background="?android:attr/activatedBackgroundIndicator" android:orientation="vertical" > @@ -44,7 +48,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" - android:textAppearance="?android:attr/textAppearanceLarge" + android:textAppearance="?android:attr/textAppearanceLargePopupMenu" android:duplicateParentState="true" android:singleLine="true" android:ellipsize="marquee" diff --git a/res/layout/drawer.xml b/res/layout/drawer.xml index 485ff52b35..f3f7c4764e 100644 --- a/res/layout/drawer.xml +++ b/res/layout/drawer.xml @@ -75,8 +75,8 @@ - - + + \ No newline at end of file diff --git a/res/layout/log_send_file.xml b/res/layout/log_send_file.xml index 921528e9a2..0f916c359e 100644 --- a/res/layout/log_send_file.xml +++ b/res/layout/log_send_file.xml @@ -54,7 +54,7 @@ android:layout_marginLeft="@dimen/standard_margin" android:layout_marginRight="@dimen/standard_margin"> -