Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bc733600 authored by Sven Dawitz's avatar Sven Dawitz Committed by Gerrit Code Review
Browse files

Add CmCircleBattery to StatusBar options (2/2)

Cyanogenmod Circle Battery implementation
- Done 100% in pure code, wont blow up the framework with countless png resources
- View can be shown with or without percentage as text inside
- Indicator turns holo-red below 15%.
- All sizes are calculated on the fly and should work on all current and
  future screen resolutions. (needs testing)
- All colors are read from the holo-theme, so changes by themers will be obeyed.
- The lower part of the pictures tries to illustrate the charge animation.

Screenshot: http://dl.dropbox.com/u/16186798/cm10/cm-circle-bat-mockup.png



Patch Set 4: Added translatable="false" to entries_status_bar_battery in arrays.xml,
as well as take it out of all the different localized arrays.xml, which solves the
Settings crash when you navigate to System -> Status Bar when using one of the said
languages (eg. French).

Also fixed an unintended capitalization in strings.xml for consistency, and added
Simplified Chinese translations for strings that don't need to be deduped while
I'm at it.

Change-Id: Iaaaffeb3511ff587012640bdbcbfcdab1c02def7
Signed-off-by: default avatarChirayu Desai <chirayudesai1@gmail.com>
Signed-off-by: default avatarAndrew Jiang <sam.andrew.jiang@gmail.com>
parent bc0701df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment