[Android] Folders: display improvements
Geoffrey Métais
git at videolan.org
Thu Jan 31 15:53:32 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 31 15:53:17 2019 +0100| [3733b54bd1dd96b1bf6bd7214d1830b54396e5a8] | committer: Geoffrey Métais
Folders: display improvements
> https://code.videolan.org/videolan/vlc-android/commit/3733b54bd1dd96b1bf6bd7214d1830b54396e5a8
---
vlc-android/res/layout/folder_item.xml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/vlc-android/res/layout/folder_item.xml b/vlc-android/res/layout/folder_item.xml
index cc100a0ca..87ebfc5ec 100644
--- a/vlc-android/res/layout/folder_item.xml
+++ b/vlc-android/res/layout/folder_item.xml
@@ -22,7 +22,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="5dp"
+ android:paddingTop="4dp"
+ android:paddingBottom="4dp"
android:background="@{bgColor}"
android:onClick="@{holder::onClick}" >
@@ -39,9 +40,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
app:layout_constraintBottom_toTopOf="@+id/folder_desc"
- app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintEnd_toStartOf="@+id/folder_more"
app:layout_constraintStart_toEndOf="@+id/folder_image"
app:layout_constraintTop_toTopOf="@+id/folder_image"
app:layout_constraintVertical_chainStyle="packed"
@@ -58,7 +58,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
app:layout_constraintBottom_toBottomOf="@+id/folder_image"
app:layout_constraintEnd_toStartOf="@+id/folder_more"
app:layout_constraintStart_toEndOf="@+id/folder_image"
More information about the Android
mailing list