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:
Karim Abou Zeid 2015-06-10 23:02:14 +02:00
commit a87320fcc9
43 changed files with 607 additions and 135 deletions

View file

@ -57,5 +57,15 @@ http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout
<!-- ONLY 0dp WHILE THERE IS THE BUG IN DESIGN SUPPORT LIBRARY 22.2.0-->
<dimen name="fab_margin">0dp</dimen>
<dimen name="tmp_no_fab_margin">-16dp</dimen>
<dimen name="tmp_now_playing_skip_rewind_margin">-24dp</dimen>
<dimen name="title_box_padding_small">16dp</dimen>
<dimen name="title_box_padding_large">32dp</dimen>
<dimen name="title_box_title_text_size_small">@dimen/abc_text_size_title_material</dimen>
<dimen name="title_box_title_text_size_large">24sp</dimen>
<dimen name="title_box_caption_text_size_small">@dimen/abc_text_size_caption_material</dimen>
<dimen name="title_box_caption_text_size_large">14sp</dimen>
<dimen name="title_box_text_spacing_small">0dp</dimen>
<dimen name="title_box_text_spacing_large">2dp</dimen>
</resources>

View file

@ -91,7 +91,8 @@
<string name="light_theme_name">Light</string>
<string name="dark_theme_name">Dark</string>
<string name="equalizer">Equalizer</string>
<string name="pref_header_ui">UI</string>
<string name="pref_header_colors">Colors</string>
<string name="pref_header_now_playing_screen">Now playing screen</string>
<string name="pref_title_general_theme">General theme</string>
<string name="pref_header_audio">Audio</string>
<string name="pref_header_general">General</string>
@ -107,7 +108,11 @@
<string name="pref_title_colored_navigation_bar_other_screens">Everywhere else</string>
<string name="pref_title_colored_album_footers">Colored album footers</string>
<string name="pref_title_force_square_album_art">Force square album art</string>
<string name="pref_title_opaque_toolbar_now_playing">Opaque toolbar now playing</string>
<string name="pref_title_opaque_toolbar_now_playing">Opaque toolbar</string>
<string name="pref_title_opaque_statusbar_now_playing">Opaque statusbar</string>
<string name="pref_title_smaller_title_box_now_playing">Smaller title box</string>
<string name="pref_title_traditional_progress_slider_now_playing">Traditional progress slider</string>
<string name="pref_title_playback_controller_card_now_playing">Show card below playback controllers</string>
<string name="no_equalizer">No equalizer found</string>
<string name="no_audio_ID">"No audio ID, play something and try again."</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
@ -135,7 +140,11 @@
<string name="pref_only_lollipop">"Only available on Lollipop."</string>
<string name="pref_summary_colored_album_footers">"Album footers in the grid are colored with the album cover\'s palette."</string>
<string name="pref_summary_force_square_album_art">Album art in the now playing view is forced to be squared.</string>
<string name="pref_summary_opaque_toolbar_now_playing">The toolbar in the now playing view is opaque and no longer covers the album art.</string>
<string name="pref_summary_opaque_toolbar_now_playing">The toolbar is opaque and do not cover the album art.</string>
<string name="pref_summary_opaque_statusbar_now_playing">The statusbar is opaque and do not cover the album art.</string>
<string name="pref_summary_smaller_title_box_now_playing">The box below the album art where the song title and artist goes is smaller.</string>
<string name="pref_summary_traditional_progress_slider_now_playing">Uses the normal progress slider instead of the small bar below the album art.</string>
<string name="pref_summary_playback_controller_card_now_playing">Displays a card below the playback controller buttons (play/pause etc.).</string>
<string name="failed_download_albumart">"Unable to download the art for this album."</string>
<string name="search_hint">Search your library…</string>
<string name="rescanning_media">Rescanning media…</string>

View file

@ -39,6 +39,11 @@
<item name="android:thumbOffset">0dp</item>
</style>
<style name="TraditionalMusicProgressSlider" parent="TraditionalMusicProgressSliderParent">
<item name="android:thumbOffset">0dp</item>
<item name="android:thumb">@drawable/traditional_slider_thumb</item>
</style>
<style name="Toolbar">
<item name="titleMarginStart">16dp</item>
<item name="android:layout_width">match_parent</item>

View file

@ -66,6 +66,7 @@
</style>
<style name="PlayPauseFabParent">
<item name="borderWidth">0dp</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
@ -85,4 +86,11 @@
<item name="android:layout_height">wrap_content</item>
<item name="android:thumb">@drawable/slider_thumb</item>
</style>
<style name="TraditionalMusicProgressSliderParent">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_marginLeft">@dimen/seek_bar_margin_left_right</item>
<item name="android:layout_marginRight">@dimen/seek_bar_margin_left_right</item>
</style>
</resources>