Weather: Add switches to show city/temp on lockscreen [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -838,4 +838,10 @@
|
|||||||
<string name="pixel_navbar_anim_title">Pixel animation</string>
|
<string name="pixel_navbar_anim_title">Pixel animation</string>
|
||||||
<string name="pixel_navbar_anim_summary">Toggle home button animation</string>
|
<string name="pixel_navbar_anim_summary">Toggle home button animation</string>
|
||||||
|
|
||||||
|
<!-- LockWeather Switches -->
|
||||||
|
<string name="lockscreen_weather_show_city_title">Show city name</string>
|
||||||
|
<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>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -36,4 +36,16 @@
|
|||||||
android:icon="@drawable/ic_info_outline_24dp"
|
android:icon="@drawable/ic_info_outline_24dp"
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:summary="@string/weather_icon_pack_info_title" />
|
android:summary="@string/weather_icon_pack_info_title" />
|
||||||
|
|
||||||
|
<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" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
|
android:key="lockscreen_weather_show_temp"
|
||||||
|
android:title="@string/lockscreen_weather_show_temp_title"
|
||||||
|
android:summary="@string/lockscreen_weather_show_temp_summary"
|
||||||
|
android:defaultValue="true" />
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|||||||
Reference in New Issue
Block a user