From 340e85d1d029ddd96b368da27a8e36bc41da19a7 Mon Sep 17 00:00:00 2001 From: Vasu Nori Date: Wed, 2 Mar 2011 11:07:35 -0800 Subject: bug:3321005 make Settings --> Storage screen display little less ugly I have implemented most of what the UX designer proposed. except these 1. Percentage Bar chart left padding should be 16dip 2. Percentage Bar chart and Total Space preferences should be combined into one singne ViewGroup or something. and "total Space" shoudl be aligned on the right border Change-Id: I9b238eaa561c9837b47b9955e7d718d92543ca34 --- res/layout/preference_memoryusage.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'res/layout') diff --git a/res/layout/preference_memoryusage.xml b/res/layout/preference_memoryusage.xml index 303a5b71a..60b2ba86e 100644 --- a/res/layout/preference_memoryusage.xml +++ b/res/layout/preference_memoryusage.xml @@ -18,13 +18,12 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="32dip" android:minHeight="?android:attr/listPreferredItemHeight" android:gravity="center_vertical" android:id="@+id/percentage_bar_chart" android:paddingRight="?android:attr/scrollbarSize" - android:paddingTop="6dip" - android:paddingBottom="6dip" settings:minTickWidth="6dip" settings:emptyColor="@color/memory_avail"> + -- cgit v1.2.3