Refactor memory measurement
Move out all the memory measurement to a separate class that can cache all of its data through orientation changes. Tweak the display to make it draw large squares for the legend instead of a 1x1 square. Add padding to the percentage bar chart. Change-Id: I4cd5bc4ba31a422a55740e8f58e5e571cf9866a5
This commit is contained in:
@@ -22,5 +22,7 @@
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/percentage_bar_chart"
|
||||
android:paddingRight="?android:attr/scrollbarSize"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium">
|
||||
android:paddingTop="6dip"
|
||||
android:paddingBottom="6dip"
|
||||
emptyColor="@color/memory_avail">
|
||||
</com.android.settings.deviceinfo.PercentageBarChart>
|
||||
Reference in New Issue
Block a user