Removed the "hide bottom bar" feature.
This commit is contained in:
parent
70a6491f32
commit
4e24bc0404
4 changed files with 0 additions and 21 deletions
|
|
@ -289,9 +289,6 @@ public abstract class AbsSlidingMusicPanelActivity extends AbsMusicServiceActivi
|
|||
setUpProgressSliderTint();
|
||||
setUpPlayerPlayPauseFabTint();
|
||||
break;
|
||||
case PreferenceUtil.HIDE_BOTTOM_BAR:
|
||||
recreate();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -353,8 +350,6 @@ public abstract class AbsSlidingMusicPanelActivity extends AbsMusicServiceActivi
|
|||
}
|
||||
|
||||
private void setUpMiniPlayer() {
|
||||
hideBottomBar(PreferenceUtil.getInstance(this).hideBottomBar());
|
||||
|
||||
miniPlayer.setOnTouchListener(new FlingPlayBackController(this));
|
||||
|
||||
miniPlayer.setOnClickListener(new View.OnClickListener() {
|
||||
|
|
|
|||
|
|
@ -59,8 +59,6 @@ public final class PreferenceUtil {
|
|||
|
||||
public static final String IGNORE_MEDIA_STORE_ARTWORK = "ignore_media_store_artwork";
|
||||
|
||||
public static final String HIDE_BOTTOM_BAR = "hide_bottom_bar";
|
||||
|
||||
public static final String LAST_CHANGELOG_VERSION = "last_changelog_version";
|
||||
|
||||
private static PreferenceUtil sInstance;
|
||||
|
|
@ -201,10 +199,6 @@ public final class PreferenceUtil {
|
|||
return mPreferences.getBoolean(IGNORE_MEDIA_STORE_ARTWORK, false);
|
||||
}
|
||||
|
||||
public final boolean hideBottomBar() {
|
||||
return mPreferences.getBoolean(HIDE_BOTTOM_BAR, false);
|
||||
}
|
||||
|
||||
public final String getArtistSortOrder() {
|
||||
return mPreferences.getString(ARTIST_SORT_ORDER, SortOrder.ArtistSortOrder.ARTIST_A_Z);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@
|
|||
<string name="pref_title_alternative_progress_slider_now_playing">Alternative progress slider</string>
|
||||
<string name="pref_title_playback_controller_card_now_playing">Show card below playback controls</string>
|
||||
<string name="pref_title_colored_playback_controls_now_playing">Colored playback controls</string>
|
||||
<string name="pref_title_hide_bottom_bar">Hide bottom bar</string>
|
||||
<string name="no_equalizer">No equalizer found.</string>
|
||||
<string name="no_audio_ID">"Play a song first, then try again."</string>
|
||||
<string name="delete_action">Delete</string>
|
||||
|
|
@ -146,7 +145,6 @@
|
|||
<string name="pref_summary_alternative_progress_slider_now_playing">Uses a progressbar which does not cover the album art instead of the default progress slider.</string>
|
||||
<string name="pref_summary_playback_controller_card_now_playing">Shows a card below play/pause, skip, rewind, shuffle and repeat.</string>
|
||||
<string name="pref_summary_ignore_media_store_artwork">Can increase the album cover quality but causes slower image loading times. Only enable this if you have problems with low resolution artworks.</string>
|
||||
<string name="pref_summary_hide_bottom_bar">Hides the bar with the current playing information at the bottom. You can still fling the play/pause button in any direction to open the now playing view.</string>
|
||||
<string name="pref_summary_colored_playback_controls_now_playing">Colors play/pause, shuffle and repeat as well as the progress slider in the album cover\u2019s vibrant color.</string>
|
||||
<string name="pref_summary_colored_navigation_bar">Colors the navigation bar in the primary color.</string>
|
||||
<string name="could_not_download_album_cover">"Couldn\u2019t download a matching album cover."</string>
|
||||
|
|
|
|||
|
|
@ -12,14 +12,6 @@
|
|||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_set_default_start_page" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="hide_bottom_bar"
|
||||
android:layout="@layout/preference_custom"
|
||||
android:summary="@string/pref_summary_hide_bottom_bar"
|
||||
android:title="@string/pref_title_hide_bottom_bar"
|
||||
android:widgetLayout="@layout/preference_dynamic_checkbox" />
|
||||
|
||||
</com.kabouzeid.gramophone.prefs.DynamicPreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue