summaryrefslogtreecommitdiffstats
path: root/ui/res/layout
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-09-08 17:15:27 -0700
committerSteve Howard <showard@google.com>2010-09-10 16:27:51 -0700
commit71e7fda9135a0915af1fd419d07ebf85ad09beb4 (patch)
tree965315a68abef66c21b154856923e35b9eab4b74 /ui/res/layout
parentf8ccad3e970434111b3920dc639e05ca48ca66c2 (diff)
downloadandroid_packages_providers_DownloadProvider-71e7fda9135a0915af1fd419d07ebf85ad09beb4.tar.gz
android_packages_providers_DownloadProvider-71e7fda9135a0915af1fd419d07ebf85ad09beb4.tar.bz2
android_packages_providers_DownloadProvider-71e7fda9135a0915af1fd419d07ebf85ad09beb4.zip
Further work on the new downloads UI.
* add support for downloads not visible in the UI * add support for restarting failed downloads and downloads for which the file is missing * add "clear selection" button to selection menu * fix DateSortedExpandableListAdapter to ensure the view refreshes properly anytime the underlying data changes * make DownloadList handle when a selected download gets deleted by another app * make DownloadList close a dialog for a pending download when the download starts * show a dialog when the user tries to open a download but the file is missing * display "<Unknown>" when no title is provided for a download * add a test case for DownloadManager.orderBy() (should've gone in the previous commit) Change-Id: Ibf3062e8228e7f2c1270be24d8d5527dfb064658
Diffstat (limited to 'ui/res/layout')
-rw-r--r--ui/res/layout/download_list.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/ui/res/layout/download_list.xml b/ui/res/layout/download_list.xml
index 241bb3d3..696030ff 100644
--- a/ui/res/layout/download_list.xml
+++ b/ui/res/layout/download_list.xml
@@ -54,8 +54,11 @@
<Button android:id="@+id/selection_delete"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingLeft="30dip"
- android:paddingRight="30dip"/>
+ android:layout_weight="1"/>
+ <Button android:id="@+id/deselect_all"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:text="@string/deselect_all"/>
</LinearLayout>
</LinearLayout>