summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/21/changes
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2017-02-08 16:21:49 -0800
committerDan Sandler <dsandler@android.com>2017-02-14 14:47:28 -0500
commit055bb6142626786302c4e0fdbcbc4f49fb0a2d1a (patch)
tree5d23120643970eb6c22ca49e0f9c7ed74e90f045 /docs/html/sdk/api_diff/21/changes
parent7183b6908b0af807491e90f37e9e05794bd0c3f1 (diff)
Percentage text now sits alongside the battery icon.
The old embedded percentage (introduced in change I6a3e7409) is hard to read at status bar size, so we now draw it in a separate TextView to the left (start) of the battery gauge. (The embedded code remains so that it can be used by other places where the battery is drawn larger.) The old system setting "status_bar_show_battery_percent" is still used to control whether this percentage is shown, but note that it now applies only to BatteryMeterView (i.e., the status bar) and not other usages of BatteryMeterDrawable. Bug: 32539932 Test: (manual) adb shell settings put system status_bar_show_battery_percent 1 Change-Id: Id298dba544f594b11269539284a2e8042fd4780b
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes')
0 files changed, 0 insertions, 0 deletions