[Android] Hide filter field when player collapses
Geoffrey Métais
git at videolan.org
Wed Jul 4 09:24:14 CEST 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jul 4 09:23:40 2018 +0200| [0d76b96c29765b91af4782c6b28f90cbec2fabdf] | committer: Geoffrey Métais
Hide filter field when player collapses
> https://code.videolan.org/videolan/vlc-android/commit/0d76b96c29765b91af4782c6b28f90cbec2fabdf
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
index 0a51e11d7..7b055b799 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
@@ -553,6 +553,7 @@ class AudioPlayer : Fragment(), PlaylistAdapter.IPlayer, TextWatcher, PlaybackSe
playerState = newState
when (newState) {
BottomSheetBehavior.STATE_COLLAPSED -> {
+ hideSearchField()
binding.header.setBackgroundResource(DEFAULT_BACKGROUND_DARKER_ID)
setHeaderVisibilities(false, false, true, true, true, false)
}
More information about the Android
mailing list