Cherish:Add switches for Weather Image as well

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SuperDroidBond
2018-10-28 12:21:01 +05:30
committed by Hưng Phan
parent e43f47cf7a
commit afc4d880b1
2 changed files with 10 additions and 2 deletions

View File

@@ -843,5 +843,7 @@
<string name="lockscreen_weather_show_city_summary">Show name of current city on left of image</string>
<string name="lockscreen_weather_show_temp_title">Show temperature</string>
<string name="lockscreen_weather_show_temp_summary">Show current city temperature on right of image</string>
<string name="lockscreen_weather_show_image_title">Show Condition Image</string>
<string name="lockscreen_weather_show_image_summary">Show weather conditions image</string>
</resources>

View File

@@ -36,12 +36,18 @@
android:icon="@drawable/ic_info_outline_24dp"
android:persistent="false"
android:summary="@string/weather_icon_pack_info_title" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_show_image"
android:title="@string/lockscreen_weather_show_image_title"
android:summary="@string/lockscreen_weather_show_image_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_show_city"
android:title="@string/lockscreen_weather_show_city_title"
android:summary="@string/lockscreen_weather_show_city_summary"
android:defaultValue="false" />
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_weather_show_temp"