- make padding consistent with the rest of the Settings App
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: Id333493cc4e88355a1211834081cd22e61aabf77
The widget layout that was used resulted in a clipped usage bar.
It also had a 6dip left offset inherited from the default layout
which adds margin after the text (even if the text is empty here).
Used a custom layout for the whole preference to fix this issue.
Other fixes in the drawing code to prevent accumulative rounding
issues.
Change-Id: Ief9bf85260345355615c9670624d86f0893eb2d2
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
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