From a9c9eea93af0aebbdace4ce39acde8085186403e Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Thu, 21 Mar 2013 14:57:07 -0700 Subject: Finish RTL work in Downloads. Clean up some padding, and handle checkbox clicks based on RTL mode. Bug: 8133419 Change-Id: I9c0f54218eb1c182fbe6f3f4eeb3e83e7ebc6ea9 --- ui/res/layout/download_list.xml | 8 ++++---- ui/res/layout/download_list_item.xml | 5 +++-- ui/res/layout/list_group_header.xml | 13 ++++++------- ui/res/values/dimen.xml | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'ui/res') diff --git a/ui/res/layout/download_list.xml b/ui/res/layout/download_list.xml index e4ebf7c9..a0ff5ff2 100644 --- a/ui/res/layout/download_list.xml +++ b/ui/res/layout/download_list.xml @@ -30,16 +30,16 @@ android:layout_weight="1"> + android:layout_marginStart="8dip" + android:textAppearance="?android:attr/textAppearanceSmall" + android:textAlignment="viewStart" /> diff --git a/ui/res/layout/list_group_header.xml b/ui/res/layout/list_group_header.xml index 2600f8de..466cd6c6 100644 --- a/ui/res/layout/list_group_header.xml +++ b/ui/res/layout/list_group_header.xml @@ -15,10 +15,9 @@ --> + android:id="@android:id/text1" + android:layout_width="match_parent" + android:layout_height="?android:attr/listPreferredItemHeight" + android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft" + android:textAppearance="?android:attr/textAppearanceMedium" + android:gravity="center_vertical" /> diff --git a/ui/res/values/dimen.xml b/ui/res/values/dimen.xml index 6e48f132..7519b878 100644 --- a/ui/res/values/dimen.xml +++ b/ui/res/values/dimen.xml @@ -15,5 +15,5 @@ --> - 40dip + 48dip -- cgit v1.2.3