Skip to content

Commit

Permalink
Add large battery icon [2/2]
Browse files Browse the repository at this point in the history
Change-Id: I0d5ed15eeb940b28a596d37feb6bc30fb2c4e023
Signed-off-by: AKabhishek <abhishekkaushik.star@gmail.com>
  • Loading branch information
ezio84 authored and AKabhishek committed Feb 23, 2018
1 parent f248e6f commit 76c9360
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -557,5 +557,9 @@
<string name="battery_percent_outside">Outside</string>
<string name="battery_percent_inside">Inside</string>

<!-- Battery icon size -->
<string name="large_battery_icon_title">Show large icon</string>
<string name="large_battery_icon_summary">Enlarge the battery icon in the status bar</string>

</resources>

5 changes: 5 additions & 0 deletions res/xml/battery_options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@
android:entries="@array/battery_percent_entries"
android:entryValues="@array/battery_percent_values" />

<com.aos.laboratory.preferences.SecureSettingListPreference
android:key="status_bar_big_battery_icon"
android:title="@string/large_battery_icon_title"
android:summary="@string/large_battery_icon_summary" />

</PreferenceScreen>

0 comments on commit 76c9360

Please sign in to comment.