From 3843960b466dbcd1733648095e750ccb3fa6d184 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Thu, 3 May 2012 18:08:24 -0700 Subject: Updated layout for download items. Switch to using GridLayout, because it's awesome. Also move status display to right-hand side, showing date when in completed state. Bug: 6378944 Change-Id: I540633010ed4aeeae299cedf7a49fdb81e65b431 --- ui/res/layout/download_list_item.xml | 106 ++++++++++++++++------------------- 1 file changed, 47 insertions(+), 59 deletions(-) (limited to 'ui/res/layout/download_list_item.xml') diff --git a/ui/res/layout/download_list_item.xml b/ui/res/layout/download_list_item.xml index 8548e3cc..a87ce7bd 100644 --- a/ui/res/layout/download_list_item.xml +++ b/ui/res/layout/download_list_item.xml @@ -21,69 +21,57 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingRight="?android:attr/scrollbarSize" - android:descendantFocusability="blocksDescendants" - android:gravity="center_vertical"> - + android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" + android:paddingRight="?android:attr/listPreferredItemPaddingRight" + android:paddingTop="8dip" + android:paddingBottom="8dip" + android:columnCount="4" + android:descendantFocusability="blocksDescendants"> - + - + - - + - + - - - + + + + -- cgit v1.2.3