[Android] AudioMiniPlayer: comments
Edward Wang
git at videolan.org
Thu Nov 28 23:23:35 CET 2013
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Thu Nov 28 17:23:31 2013 -0500| [9d956857e4778ad1136d6bcd1de696dd3797181a] | committer: Edward Wang
AudioMiniPlayer: comments
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=9d956857e4778ad1136d6bcd1de696dd3797181a
---
vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java b/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
index c4bbe08..d7930af 100644
--- a/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
+++ b/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
@@ -118,10 +118,12 @@ public class AudioMiniPlayer extends Fragment implements IAudioPlayer {
break;
case MotionEvent.ACTION_UP:
if(mTouchY - event.getRawY() > root.getHeight()) {
+ // should show playlist view of AudioPlayerFragment
Toast.makeText(AudioMiniPlayer.this.getActivity(), "AudioMiniPlayer swipe up", Toast.LENGTH_SHORT).show();
return true;
} else if(Math.abs( mTouchY - event.getRawY() ) < 5 && Math.abs( mTouchX - event.getRawX() ) < 5) {
// effectively a click
+ // should show cover view of AudioPlayerFragment
AudioPlayerFragment.start(getActivity());
return true;
} else
More information about the Android
mailing list