[Android] Fix Info activity spacing

Nicolas Pomepuy git at videolan.org
Tue Apr 6 06:15:36 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Apr  1 08:28:10 2021 +0200| [cc998a5a20c2093a5f222f65c57c54739aa8ac89] | committer: Nicolas Pomepuy

Fix Info activity spacing

Fixes #1965

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

 application/vlc-android/res/layout/info_activity.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/application/vlc-android/res/layout/info_activity.xml b/application/vlc-android/res/layout/info_activity.xml
index c803e5989..61cd1e937 100644
--- a/application/vlc-android/res/layout/info_activity.xml
+++ b/application/vlc-android/res/layout/info_activity.xml
@@ -347,19 +347,19 @@
                 <androidx.recyclerview.widget.RecyclerView
                         android:id="@+id/list"
                         android:layout_width="0dp"
-                        android:layout_height="wrap_content"
-                        vlc:layout_constraintTop_toBottomOf="@+id/extra_icon"
-                        vlc:layout_constraintStart_toStartOf="parent"
-                        vlc:layout_constraintEnd_toEndOf="parent"
+                        android:layout_height="0dp"
+                        android:layout_marginStart="16dp"
+                        android:layout_marginTop="24dp"
+                        android:layout_marginEnd="16dp"
+                        android:layout_marginBottom="16dp"
                         android:clipToPadding="false"
                         android:overScrollMode="never"
                         android:paddingBottom="@dimen/listview_bottom_padding"
                         android:visibility="@{item.itemType == MediaLibraryItem.TYPE_MEDIA ? View.VISIBLE : View.INVISIBLE}"
-                        android:layout_marginBottom="16dp"
                         vlc:layout_constraintBottom_toBottomOf="parent"
-                        android:layout_marginTop="24dp"
-                        android:layout_marginStart="16dp"
-                        android:layout_marginEnd="16dp" />
+                        vlc:layout_constraintEnd_toEndOf="parent"
+                        vlc:layout_constraintStart_toStartOf="parent"
+                        vlc:layout_constraintTop_toBottomOf="@+id/extra_icon" />
 
             </androidx.constraintlayout.widget.ConstraintLayout>
         </androidx.core.widget.NestedScrollView>



More information about the Android mailing list