[Android] Add padding to video grid items
Geoffrey Métais
git at videolan.org
Fri Apr 22 10:23:44 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Apr 22 10:21:39 2016 +0200| [4b8fe7115d0befa02e221a44901df1cd2a36a60c] | committer: Geoffrey Métais
Add padding to video grid items
> https://code.videolan.org/videolan/vlc-android/commit/4b8fe7115d0befa02e221a44901df1cd2a36a60c
---
vlc-android/res/layout/video_grid_card.xml | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/vlc-android/res/layout/video_grid_card.xml b/vlc-android/res/layout/video_grid_card.xml
index bfd7573..3e4f81d 100644
--- a/vlc-android/res/layout/video_grid_card.xml
+++ b/vlc-android/res/layout/video_grid_card.xml
@@ -56,8 +56,7 @@
android:id="@+id/layout_item"
android:layout_width="@dimen/grid_card_width"
android:layout_height="wrap_content"
- android:paddingTop="10dp"
- android:paddingBottom="10dp"
+ android:padding="10dp"
android:layout_gravity="center"
android:background="?attr/background_default"
android:gravity="center_vertical"
@@ -80,15 +79,6 @@
android:orientation="horizontal">
<TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:fontFamily="sans-serif-light"
- android:lines="2"
- android:text=""
- android:textSize="@dimen/grid_card_title_text_size" />
-
- <TextView
android:id="@+id/ml_item_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
More information about the Android
mailing list