[Android] Fix audio play button size in landscape

Nicolas Pomepuy git at videolan.org
Thu Jun 27 11:02:37 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Jun 27 08:35:30 2019 +0200| [023d6be9546717cb6d2a90af873e957d2eb5dbf5] | committer: Nicolas Pomepuy

Fix audio play button size in landscape

> https://code.videolan.org/videolan/vlc-android/commit/023d6be9546717cb6d2a90af873e957d2eb5dbf5
---

 vlc-android/res/layout-land/audio_player.xml | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/vlc-android/res/layout-land/audio_player.xml b/vlc-android/res/layout-land/audio_player.xml
index 299ef0dd9..7c209834c 100644
--- a/vlc-android/res/layout-land/audio_player.xml
+++ b/vlc-android/res/layout-land/audio_player.xml
@@ -291,18 +291,18 @@
             android:src="?attr/ic_repeat" />
 
         <ImageView
-            android:id="@+id/play_pause"
-            android:layout_width="64dp"
-            android:layout_height="64dp"
-            app:layout_constraintBottom_toTopOf="@+id/timeline"
-            app:layout_constraintStart_toEndOf="@+id/previous"
-            app:layout_constraintEnd_toStartOf="@+id/next"
-            android:contentDescription="@string/play"
-            android:layout_marginBottom="@dimen/audioplayer_controls_margin"
-            android:focusable="true"
-            android:scaleType="fitXY"
-            android:onClick="@{fragment::onPlayPauseClick}"
-            android:onLongClick="@{fragment::onStopClick}" />
+                android:id="@+id/play_pause"
+                android:layout_width="48dp"
+                android:layout_height="48dp"
+                app:layout_constraintBottom_toTopOf="@+id/timeline"
+                app:layout_constraintStart_toEndOf="@+id/previous"
+                app:layout_constraintEnd_toStartOf="@+id/next"
+                android:contentDescription="@string/play"
+                android:layout_marginBottom="@dimen/audioplayer_controls_margin"
+                android:focusable="true"
+                android:scaleType="fitXY"
+                android:onClick="@{fragment::onPlayPauseClick}"
+                android:onLongClick="@{fragment::onStopClick}" />
 
         <ImageView
             android:id="@+id/next"



More information about the Android mailing list