1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 14:02:56 +01:00

Add explanation for dynamic colors theme

This commit is contained in:
Arjan Schrijver 2023-08-12 11:47:17 +02:00
parent c9bbc05674
commit 56be4c7bee
3 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
### Changelog ### Changelog
#### Next Version (WIP) #### Next Version (WIP)
* Switch UI to Material 3 and support dynamic colors * Upgrade UI to Material 3 and add dynamic colors theme
* Initial support for Bohemic Smart Bracelet * Initial support for Bohemic Smart Bracelet
* Initial support for Casio GW-B5600 * Initial support for Casio GW-B5600
* Initial support for Garmin Vivomove HR * Initial support for Garmin Vivomove HR

View File

@ -2228,4 +2228,5 @@
<string name="pref_activity_full_sync_trigger_title">Full sync</string> <string name="pref_activity_full_sync_trigger_title">Full sync</string>
<string name="pref_activity_full_sync_trigger_warning">This will trigger a full sync of all activity data from the device. It may take a few minutes to complete.</string> <string name="pref_activity_full_sync_trigger_warning">This will trigger a full sync of all activity data from the device. It may take a few minutes to complete.</string>
<string name="pref_theme_dynamic_colors_not_available_warning">Dynamic colors are not available on your device, only Android 12+ supports this functionality. Gadgetbridge will use the default Material 3 colors.</string> <string name="pref_theme_dynamic_colors_not_available_warning">Dynamic colors are not available on your device, only Android 12+ supports this functionality. Gadgetbridge will use the default Material 3 colors.</string>
<string name="pref_theme_dynamic_colors_explanation">Note: for the dynamic colors theme you need to enable Wallpaper Colors or Color Palette in your Android 12+ appearance settings. If you don\'t, Gadgetbridge will use the default Material 3 colors.</string>
</resources> </resources>

View File

@ -69,6 +69,12 @@
android:layout="@layout/preference_checkbox" android:layout="@layout/preference_checkbox"
android:title="@string/pref_theme_black_background" android:title="@string/pref_theme_black_background"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference
android:enabled="false"
android:selectable="false"
android:singleLineTitle="false"
android:title="@string/pref_theme_dynamic_colors_explanation"
app:iconSpaceReserved="false" />
</PreferenceScreen> </PreferenceScreen>
<PreferenceScreen <PreferenceScreen