From 05af648142c2e5b0011598d3295658c60acb90c6 Mon Sep 17 00:00:00 2001 From: Doris Ling Date: Mon, 27 Jun 2016 14:23:17 -0700 Subject: [PATCH] Update UI for Storage settings. Change the text color for the used storage number to colorAccent and increase the height of the storage bar graph to match that in Memory settings. Bug: 29417812 Change-Id: I2a2f6a3fb39c4c23e51a8be8e6feefa101d74797 --- res/layout/storage_summary.xml | 2 +- .../android/settings/deviceinfo/StorageSummaryPreference.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/res/layout/storage_summary.xml b/res/layout/storage_summary.xml index 35201e165b2..7bc51df5e6c 100644 --- a/res/layout/storage_summary.xml +++ b/res/layout/storage_summary.xml @@ -33,7 +33,7 @@ android:singleLine="true" android:textAlignment="viewStart" android:textAppearance="@android:style/TextAppearance.Material.Subhead" - android:textColor="#ff607d8b" + android:textColor="?android:attr/colorAccent" android:textSize="36sp" android:ellipsize="marquee" android:fadingEdge="horizontal" /> diff --git a/src/com/android/settings/deviceinfo/StorageSummaryPreference.java b/src/com/android/settings/deviceinfo/StorageSummaryPreference.java index 9fc1363fb45..e1cf7742ef7 100644 --- a/src/com/android/settings/deviceinfo/StorageSummaryPreference.java +++ b/src/com/android/settings/deviceinfo/StorageSummaryPreference.java @@ -46,6 +46,7 @@ public class StorageSummaryPreference extends Preference { if (mPercent != -1) { progress.setVisibility(View.VISIBLE); progress.setProgress(mPercent); + progress.setScaleY(7f); } else { progress.setVisibility(View.GONE); }