[Android] Fix sponsorship button sizing on large screens

Nicolas Pomepuy git at videolan.org
Mon Aug 3 13:02:25 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Aug  3 08:30:03 2020 +0200| [cbc4ec928ec1868bef4151032dc959b701888e8e] | committer: Nicolas Pomepuy

Fix sponsorship button sizing on large screens

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

 application/vlc-android/res/layout/more_fragment.xml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/application/vlc-android/res/layout/more_fragment.xml b/application/vlc-android/res/layout/more_fragment.xml
index ef7ace445..06ff37b7f 100644
--- a/application/vlc-android/res/layout/more_fragment.xml
+++ b/application/vlc-android/res/layout/more_fragment.xml
@@ -85,13 +85,11 @@
                         android:id="@+id/donationsButton"
                         android:layout_width="0dp"
                         android:layout_height="wrap_content"
-                        android:layout_marginStart="16dp"
                         android:layout_marginTop="8dp"
-                        android:layout_marginEnd="16dp"
                         app:cardBackgroundColor="?attr/donate_card"
                         app:cardCornerRadius="4dp"
-                        app:layout_constraintEnd_toEndOf="parent"
-                        app:layout_constraintStart_toStartOf="parent"
+                        app:layout_constraintEnd_toEndOf="@+id/aboutButton"
+                        app:layout_constraintStart_toStartOf="@+id/settingsButton"
                         app:layout_constraintTop_toBottomOf="@+id/settingsButton">
 
                     <androidx.constraintlayout.widget.ConstraintLayout



More information about the Android mailing list