[Android] Audio browser: fix the position of the browser header when the genre albums songs fragment has been quited
Adrien Maglo
git at videolan.org
Tue Jan 28 15:46:52 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue Jan 28 15:46:22 2014 +0100| [47eb767ba6b78b190c8788c0c73572889a59781c] | committer: Adrien Maglo
Audio browser: fix the position of the browser header when the genre albums songs fragment has been quited
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=47eb767ba6b78b190c8788c0c73572889a59781c
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index 07d75c6..d07c5ac 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -160,6 +160,7 @@ public class AudioBrowserFragment extends SherlockFragment {
super.onResume();
mFlingViewGroup.setPosition(mFlingViewPosition);
mHeader.highlightTab(-1, mFlingViewPosition);
+ mHeader.scroll(mFlingViewPosition / 3.f);
updateLists();
mMediaLibrary.addUpdateHandler(mHandler);
}
More information about the Android
mailing list