diff options
author | Vasu Nori <vnori@google.com> | 2010-10-15 15:23:12 -0700 |
---|---|---|
committer | Vasu Nori <vnori@google.com> | 2010-10-19 17:35:44 -0700 |
commit | 3c3ed3c1488c2ebfd2b66a3cdf09b3e312883159 (patch) | |
tree | a0f2ee99134ae84ce4420734cf21062edba64bd2 /ui/res/layout/download_list_item.xml | |
parent | 4c1acb60162e2a2e8c80a996676a4d543a2eb3a7 (diff) | |
download | android_packages_providers_DownloadProvider-3c3ed3c1488c2ebfd2b66a3cdf09b3e312883159.tar.gz android_packages_providers_DownloadProvider-3c3ed3c1488c2ebfd2b66a3cdf09b3e312883159.tar.bz2 android_packages_providers_DownloadProvider-3c3ed3c1488c2ebfd2b66a3cdf09b3e312883159.zip |
bug:3083060 UI tweaks to DownloadManager screens
Change-Id: I3c7ee819077d344072deee4cfd61f883c64da758
Diffstat (limited to 'ui/res/layout/download_list_item.xml')
-rw-r--r-- | ui/res/layout/download_list_item.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/ui/res/layout/download_list_item.xml b/ui/res/layout/download_list_item.xml index 9c3b3dae..8548e3cc 100644 --- a/ui/res/layout/download_list_item.xml +++ b/ui/res/layout/download_list_item.xml @@ -22,22 +22,26 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingRight="?android:attr/scrollbarSize" - android:descendantFocusability="blocksDescendants"> + android:descendantFocusability="blocksDescendants" + android:gravity="center_vertical"> + <!-- Clicks are handled directly by DownloadItem --> <CheckBox android:id="@+id/download_checkbox" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentTop="true" android:layout_alignParentLeft="true" + android:paddingLeft="8dip" android:scaleType="fitCenter" + android:layout_centerVertical="true" android:clickable="false"/> <ImageView android:id="@+id/download_icon" android:layout_width="@android:dimen/app_icon_size" android:layout_height="@android:dimen/app_icon_size" - android:layout_alignParentTop="true" + android:paddingLeft="8dip" android:layout_toRightOf="@id/download_checkbox" + android:layout_centerVertical="true" android:scaleType="fitCenter" /> <TextView android:id="@+id/download_title" @@ -46,13 +50,16 @@ android:layout_alignParentTop="true" android:layout_toRightOf="@id/download_icon" android:maxLines="1" - android:textAppearance="?android:attr/textAppearanceMedium" /> + android:paddingLeft="8dip" + android:textStyle="bold" + android:textAppearance="?android:attr/textAppearanceSmall" /> <TextView android:id="@+id/domain" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/download_title" android:layout_toRightOf="@id/download_icon" android:maxLines="1" + android:paddingLeft="8dip" android:textAppearance="?android:attr/textAppearanceSmall" /> <TextView android:id="@+id/last_modified_date" @@ -68,6 +75,7 @@ android:layout_height="wrap_content" android:layout_below="@id/domain" android:layout_toRightOf="@id/download_icon" + android:paddingLeft="8dip" android:textAppearance="?android:attr/textAppearanceSmall" /> <TextView android:id="@+id/size_text" android:layout_width="wrap_content" |