[Android] Add a summary to DayNight mode setting
Nicolas Pomepuy
git at videolan.org
Mon Jul 29 16:37:15 CEST 2019
vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Mon Jul 29 10:09:24 2019 +0200| [b5b9e4c705a5973fa099398b2727d526fff6adfc] | committer: Geoffrey Métais
Add a summary to DayNight mode setting
(cherry picked from commit 0b1ed070b8c063c9f31dcde43c8c4e57cc2274d7)
> https://code.videolan.org/videolan/vlc-android/commit/b5b9e4c705a5973fa099398b2727d526fff6adfc
---
vlc-android/res/xml/preferences_ui.xml | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/vlc-android/res/xml/preferences_ui.xml b/vlc-android/res/xml/preferences_ui.xml
index 15caf7aa6..e82efcb5d 100644
--- a/vlc-android/res/xml/preferences_ui.xml
+++ b/vlc-android/res/xml/preferences_ui.xml
@@ -5,11 +5,12 @@
android:title="@string/interface_prefs_screen">
<ListPreference
- android:defaultValue="-1"
- android:key="app_theme"
- android:title="@string/daynight_title"
- android:entries="@array/daynight_mode_entries"
- android:entryValues="@array/daynight_mode_values" />
+ android:defaultValue="-1"
+ android:key="app_theme"
+ android:title="@string/daynight_title"
+ android:summary="%s"
+ android:entries="@array/daynight_mode_entries"
+ android:entryValues="@array/daynight_mode_values" />
<CheckBoxPreference
android:key="tv_ui"
@@ -76,7 +77,8 @@
android:key="blurred_cover_background"
android:summary="@string/blurred_cover_background_summary"
android:title="@string/blurred_cover_background_title" />
- <SwitchPreference
+
+ <androidx.preference.SwitchPreferenceCompat
android:defaultValue="true"
android:key="audio_resume_card"
android:title="@string/audio_resume_card_title"
More information about the Android
mailing list