Cherish:Show Battery Temperature in Ambient Display [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
7
res/drawable/ic_temperature.xml
Normal file
7
res/drawable/ic_temperature.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="?android:attr/colorControlNormal" android:pathData="M15 13V5A3 3 0 0 0 9 5V13A5 5 0 1 0 15 13M12 4A1 1 0 0 1 13 5V12H11V5A1 1 0 0 1 12 4Z" />
|
||||
</vector>
|
||||
@@ -1200,4 +1200,8 @@
|
||||
<string name="keyguard_battery_bar_color_accent">Accent</string>
|
||||
<string name="keyguard_battery_bar_color_random">Random</string>
|
||||
<string name="keyguard_battery_bar_color_custom">Custom</string>
|
||||
|
||||
<!-- Battery temperature -->
|
||||
<string name="ambient_battery_temperature_title">Battery temperature</string>
|
||||
<string name="ambient_battery_temperature_summary">Show battery temperature along with the battery percent</string>
|
||||
</resources>
|
||||
|
||||
@@ -24,6 +24,13 @@
|
||||
android:title="@string/lockscreen_battery_info_title"
|
||||
android:summary="@string/lockscreen_battery_info_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="ambient_battery_temperature"
|
||||
android:icon="@drawable/ic_temperature"
|
||||
android:title="@string/ambient_battery_temperature_title"
|
||||
android:summary="@string/ambient_battery_temperature_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<ListPreference
|
||||
android:key="lockscreen_battery_info_font"
|
||||
|
||||
Reference in New Issue
Block a user