Merge \"Update UI for Storage settings.\" into nyc-mr1-dev

am: d65b27a02c

Change-Id: I87a2a929604f6fda9f2805224fffebfddc15e44c
This commit is contained in:
Doris Ling
2016-06-28 17:12:34 +00:00
committed by android-build-merger
2 changed files with 2 additions and 1 deletions

View File

@@ -33,7 +33,7 @@
android:singleLine="true" android:singleLine="true"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textAppearance="@android:style/TextAppearance.Material.Subhead" android:textAppearance="@android:style/TextAppearance.Material.Subhead"
android:textColor="#ff607d8b" android:textColor="?android:attr/colorAccent"
android:textSize="36sp" android:textSize="36sp"
android:ellipsize="marquee" android:ellipsize="marquee"
android:fadingEdge="horizontal" /> android:fadingEdge="horizontal" />

View File

@@ -46,6 +46,7 @@ public class StorageSummaryPreference extends Preference {
if (mPercent != -1) { if (mPercent != -1) {
progress.setVisibility(View.VISIBLE); progress.setVisibility(View.VISIBLE);
progress.setProgress(mPercent); progress.setProgress(mPercent);
progress.setScaleY(7f);
} else { } else {
progress.setVisibility(View.GONE); progress.setVisibility(View.GONE);
} }