1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-08 22:28:20 +02:00

Add informative text to "Weather" setting

Fix #1914.
This commit is contained in:
Michael 2020-07-13 12:23:01 +02:00 committed by Gitea
parent 2b619196e2
commit 9353b6cecb
2 changed files with 8 additions and 2 deletions

View File

@ -123,7 +123,8 @@
<string name="pref_call_privacy_mode_number">Hide number but display name</string>
<string name="pref_call_privacy_mode_complete">Hide name and number</string>
<string name="pref_title_weather">Weather</string>
<string name="pref_title_weather_location">Weather location (CM/LOS)</string>
<string name="pref_title_weather_location">Weather location (for LineageOS weather provider)</string>
<string name="pref_title_weather_summary">Used for the LineageOS weather provider, other Android versions need to use an app like Weather notification. Find more information in the Gadgetbridge wiki.</string>
<string name="pref_blacklist">Blacklist Apps</string>
<string name="pref_blacklist_calendars">Blacklist Calendars</string>
<string name="pref_header_cannned_messages">Canned messages</string>

View File

@ -87,11 +87,16 @@
</PreferenceScreen>
</PreferenceScreen>
<PreferenceScreen android:title="@string/pref_title_weather">
<PreferenceScreen
android:title="@string/pref_title_weather"
android:summary="@string/pref_title_weather_summary">
<EditTextPreference
android:inputType="text"
android:key="weather_city"
android:title="@string/pref_title_weather_location" />
</PreferenceScreen>
<CheckBoxPreference
android:layout="@layout/preference_checkbox"
android:defaultValue="false"