[Android] Video Player : automatically resize Play-Pause button

Alexandre Perraud git at videolan.org
Wed Nov 25 18:36:12 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Nov 25 18:28:33 2015 +0100| [58cb075ce4656a3223771214cc316676c4579d79] | committer: Alexandre Perraud

Video Player : automatically resize Play-Pause button

    for small screen

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=58cb075ce4656a3223771214cc316676c4579d79
---

 vlc-android/res/layout/player_hud.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/player_hud.xml b/vlc-android/res/layout/player_hud.xml
index 2e61de6..4f0f61e 100644
--- a/vlc-android/res/layout/player_hud.xml
+++ b/vlc-android/res/layout/player_hud.xml
@@ -102,7 +102,7 @@
             android:layout_weight="1"
             android:clickable="true"
             android:src="@drawable/ic_pause_circle"
-            android:scaleType="center"
+            android:scaleType="fitCenter"
             android:focusable="true"/>
 
         <ImageView



More information about the Android mailing list