[Android] No pressed state for Play/Pause button
Geoffrey Métais
git at videolan.org
Thu Dec 18 16:03:34 CET 2014
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Dec 18 15:54:59 2014 +0100| [3d332cc03b8ce0138ebc2d11d494d23ce07ac301] | committer: Geoffrey Métais
No pressed state for Play/Pause button
Switch between Play and Pause is already a transition
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3d332cc03b8ce0138ebc2d11d494d23ce07ac301
---
vlc-android/res/layout/player_hud.xml | 2 +-
.../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/vlc-android/res/layout/player_hud.xml b/vlc-android/res/layout/player_hud.xml
index 8ced6a8..7c9937e 100644
--- a/vlc-android/res/layout/player_hud.xml
+++ b/vlc-android/res/layout/player_hud.xml
@@ -86,7 +86,7 @@
android:layout_below="@id/player_overlay_length"
android:layout_centerHorizontal="true"
android:clickable="true"
- android:src="@drawable/ic_pause_circle"
+ android:src="@drawable/ic_pause_circle_normal_o"
android:scaleType="center"
android:focusable="true"/>
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 1911a4b..63736e2 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2100,8 +2100,8 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
return;
if (mPresentation == null)
- mPlayPause.setImageResource(mLibVLC.isPlaying() ? R.drawable.ic_pause_circle
- : R.drawable.ic_play_circle);
+ mPlayPause.setImageResource(mLibVLC.isPlaying() ? R.drawable.ic_pause_circle_normal_o
+ : R.drawable.ic_play_circle_normal_o);
else
mPlayPause.setImageResource(mLibVLC.isPlaying() ? R.drawable.ic_pause_circle_big_o
: R.drawable.ic_play_circle_big_o);
More information about the Android
mailing list