[Android] Expand album cover to improve swipe

Geoffrey Métais git at videolan.org
Wed Apr 12 17:52:01 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 12 16:52:25 2017 +0200| [94b28e6c7d12d8ba3516a338a3ab991ad3953467] | committer: Geoffrey Métais

Expand album cover to improve swipe

> https://code.videolan.org/videolan/vlc-android/commit/94b28e6c7d12d8ba3516a338a3ab991ad3953467
---

 vlc-android/res/layout/audio_player.xml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index e88a4a7..bfa55ff 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -181,14 +181,13 @@
             app:layout_constraintRight_toRightOf="parent"
             app:layout_constraintTop_toBottomOf="@+id/header"
             app:layout_constraintBottom_toTopOf="@+id/timeline"
-            android:layout_marginLeft="@dimen/audio_player_cover_margin"
-            android:layout_marginRight="@dimen/audio_player_cover_margin"
+            android:paddingLeft="@dimen/audio_player_cover_margin"
+            android:paddingRight="@dimen/audio_player_cover_margin"
+            android:paddingStart="@dimen/audio_player_cover_margin"
+            android:paddingEnd="@dimen/audio_player_cover_margin"
             android:layout_marginTop="@dimen/default_margin"
             android:layout_marginBottom="@dimen/default_margin"
-            android:layout_centerHorizontal="true"
             android:visibility="gone"
-            android:layout_marginStart="@dimen/audio_player_cover_margin"
-            android:layout_marginEnd="@dimen/audio_player_cover_margin"
             tools:layout_constraintLeft_creator="1" />
 
         <include layout="@layout/shadow_top"



More information about the Android mailing list