Evolver: Add shortcut to configure Weather settings
This commit is contained in:
@@ -700,4 +700,18 @@
|
||||
<string name="qs_panel_tile_haptic_intensity_title">QS tile haptics intensity</string>
|
||||
<string name="qs_haptics_intensity_title">Qs fling haptics intensity</string>
|
||||
<string name="qs_tiles_haptic_feedback_title">Vibrate on touching QS tiles</string>
|
||||
|
||||
<!-- Weather -->
|
||||
<string name="weather_settings_title">Weather settings</string>
|
||||
<string name="weather_settings_summary">Setup icon pack and weather service</string>
|
||||
<string name="lockscreen_weather_category">Weather</string>
|
||||
<string name="lockscreen_weather_title">Weather update</string>
|
||||
<string name="lockscreen_weather_summary">Display current weather update</string>
|
||||
<string name="lockscreen_weather_enabled_info">Requires weather service to be enabled</string>
|
||||
<string name="lockscreen_weather_location_title">Current location</string>
|
||||
<string name="lockscreen_weather_location_summary">Display current weather location</string>
|
||||
<string name="lockscreen_weather_text_title">Current condition</string>
|
||||
<string name="lockscreen_weather_text_summary">Display current weather condition summary</string>
|
||||
<string name="lockscreen_weather_style_title">Pixel style</string>
|
||||
<string name="lockscreen_weather_style_summary">Display weather as separate row</string>
|
||||
</resources>
|
||||
|
||||
@@ -64,6 +64,41 @@
|
||||
android:fragment="org.evolution.settings.fragments.lockscreen.PulseSettings" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="lockscreen_weather_category"
|
||||
android:title="@string/lockscreen_weather_category">
|
||||
|
||||
<Preference
|
||||
android:title="@string/weather_settings_title"
|
||||
android:summary="@string/weather_settings_summary">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="org.omnirom.omnijaws"
|
||||
android:targetClass="org.omnirom.omnijaws.SettingsActivity" />
|
||||
</Preference>
|
||||
|
||||
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_weather_enabled"
|
||||
android:title="@string/lockscreen_weather_title"
|
||||
android:summary="@string/lockscreen_weather_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_weather_location"
|
||||
android:title="@string/lockscreen_weather_location_title"
|
||||
android:summary="@string/lockscreen_weather_location_summary"
|
||||
android:defaultValue="false"
|
||||
android:dependency="lockscreen_weather_enabled" />
|
||||
|
||||
<org.evolution.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="lockscreen_weather_text"
|
||||
android:title="@string/lockscreen_weather_text_title"
|
||||
android:summary="@string/lockscreen_weather_text_summary"
|
||||
android:defaultValue="true"
|
||||
android:dependency="lockscreen_weather_enabled" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="lock_screen_fingerprint_category"
|
||||
android:title="@string/lock_screen_fingerprint_category">
|
||||
|
||||
Reference in New Issue
Block a user