summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/values/strings.xml6
-rw-r--r--res/xml/weather.xml14
2 files changed, 20 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 29ea88cc0..4efb0981f 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -770,6 +770,12 @@
<string name="lock_screen_weather_condition_icon_summaryOn">Condition icon is shown on Lockscreen</string>
<string name="lock_screen_weather_condition_icon_summaryOff">Condition icon is hidden on Lockscreen</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>
+
<!-- Statusbar ticker -->
<string name="status_bar_ticker_title">Ticker</string>
<string name="status_bar_show_ticker_title">Ticker</string>
diff --git a/res/xml/weather.xml b/res/xml/weather.xml
index 4031bed9e..6d33d8721 100644
--- a/res/xml/weather.xml
+++ b/res/xml/weather.xml
@@ -58,6 +58,20 @@
android:defaultValue="false"
android:dependency="lockscreen_weather_enabled" />
+ <com.aicp.gear.preference.SystemSettingSwitchPreference
+ android:key="lockscreen_weather_show_city"
+ android:title="@string/lockscreen_weather_show_city_title"
+ android:summary="@string/lockscreen_weather_show_city_summary"
+ android:dependency="lockscreen_weather_enabled"
+ android:defaultValue="false" />
+
+ <com.aicp.gear.preference.SystemSettingSwitchPreference
+ android:key="lockscreen_weather_show_temp"
+ android:title="@string/lockscreen_weather_show_temp_title"
+ android:summary="@string/lockscreen_weather_show_temp_summary"
+ android:dependency="lockscreen_weather_enabled"
+ android:defaultValue="true" />
+
</PreferenceCategory>
<!--com.android.settingslib.widget.FooterPreference