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:
mydongistiny
2018-10-14 17:06:25 +05:30
committed by Hưng Phan
parent 2560bfe610
commit e43f47cf7a
2 changed files with 18 additions and 0 deletions

View File

@@ -36,4 +36,16 @@
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_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>