Reorganized settings, added more options to customize the now playing screen, added gradients to make UI elements visible on light album covers, fixed a bug with cardview background, fixed typos, increased version code, synced strings,
This commit is contained in:
parent
4111d728af
commit
a87320fcc9
43 changed files with 607 additions and 135 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<com.kabouzeid.gramophone.prefs.DynamicPreferenceCategory android:title="@string/pref_header_ui">
|
||||
<com.kabouzeid.gramophone.prefs.DynamicPreferenceCategory android:title="@string/pref_header_colors">
|
||||
|
||||
<com.afollestad.materialdialogs.prefs.MaterialListPreference
|
||||
android:defaultValue="0"
|
||||
|
|
@ -22,29 +22,13 @@
|
|||
android:title="@string/accent_color"
|
||||
android:summary="@string/accent_color_desc" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="opaque_toolbar_now_playing"
|
||||
android:title="@string/pref_title_opaque_toolbar_now_playing"
|
||||
android:summary="@string/pref_summary_opaque_toolbar_now_playing"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:widgetLayout="@layout/preference_dynamiccheckbox" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="force_square_album_art"
|
||||
android:title="@string/pref_title_force_square_album_art"
|
||||
android:summary="@string/pref_summary_force_square_album_art"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:widgetLayout="@layout/preference_dynamiccheckbox" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="colored_album_footers"
|
||||
android:title="@string/pref_title_colored_album_footers"
|
||||
android:summary="@string/pref_summary_colored_album_footers"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:widgetLayout="@layout/preference_dynamiccheckbox" />
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
<com.afollestad.materialdialogs.prefs.MaterialMultiSelectListPreference
|
||||
android:key="colored_navigation_bar"
|
||||
57
app/src/main/res/xml/pref_now_playing_screen.xml
Normal file
57
app/src/main/res/xml/pref_now_playing_screen.xml
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<com.kabouzeid.gramophone.prefs.DynamicPreferenceCategory android:title="@string/pref_header_now_playing_screen">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="opaque_statusbar_now_playing"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:summary="@string/pref_summary_opaque_statusbar_now_playing"
|
||||
android:title="@string/pref_title_opaque_statusbar_now_playing"
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:dependency="opaque_statusbar_now_playing"
|
||||
android:key="opaque_toolbar_now_playing"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:summary="@string/pref_summary_opaque_toolbar_now_playing"
|
||||
android:title="@string/pref_title_opaque_toolbar_now_playing"
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="force_square_album_art"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:summary="@string/pref_summary_force_square_album_art"
|
||||
android:title="@string/pref_title_force_square_album_art"
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="smaller_title_box_now_playing"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:summary="@string/pref_summary_smaller_title_box_now_playing"
|
||||
android:title="@string/pref_title_smaller_title_box_now_playing"
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="traditional_progress_slider_now_playing"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:summary="@string/pref_summary_traditional_progress_slider_now_playing"
|
||||
android:title="@string/pref_title_traditional_progress_slider_now_playing"
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="playback_controller_card_now_playing"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:summary="@string/pref_summary_playback_controller_card_now_playing"
|
||||
android:title="@string/pref_title_playback_controller_card_now_playing"
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
</com.kabouzeid.gramophone.prefs.DynamicPreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue