[Android] Selection color in all the row in the history
Brais Gabín
git at videolan.org
Mon Jan 14 16:15:31 CET 2019
vlc-android | branch: master | Brais Gabín <braisgabin at gmail.com> | Sun Jan 13 17:44:21 2019 +0100| [2424b74a5284a15211c9a5b1f3d092e371e0d768] | committer: Geoffrey Métais
Selection color in all the row in the history
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
> https://code.videolan.org/videolan/vlc-android/commit/2424b74a5284a15211c9a5b1f3d092e371e0d768
---
vlc-android/res/layout/history_item.xml | 2 ++
vlc-android/res/layout/history_list.xml | 4 +---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/vlc-android/res/layout/history_item.xml b/vlc-android/res/layout/history_item.xml
index cbbf49506..907b218b2 100644
--- a/vlc-android/res/layout/history_item.xml
+++ b/vlc-android/res/layout/history_item.xml
@@ -23,6 +23,8 @@
android:onClick="@{holder::onClick}"
android:paddingBottom="4dp"
android:paddingTop="4dp"
+ android:paddingLeft="@dimen/listview_side_padding"
+ android:paddingRight="@dimen/listview_side_padding"
android:focusable="true"
android:onLongClick="@{holder::onLongClick}" >
<ImageView
diff --git a/vlc-android/res/layout/history_list.xml b/vlc-android/res/layout/history_list.xml
index 07e133617..a667b184b 100644
--- a/vlc-android/res/layout/history_list.xml
+++ b/vlc-android/res/layout/history_list.xml
@@ -29,9 +29,7 @@
app:layout_constraintRight_toRightOf="parent"
android:clipToPadding="false"
android:paddingTop="10dp"
- android:paddingBottom="@dimen/listview_bottom_padding"
- android:paddingLeft="@dimen/listview_side_padding"
- android:paddingRight="@dimen/listview_side_padding" />
+ android:paddingBottom="@dimen/listview_bottom_padding" />
<TextView
android:id="@+id/empty"
android:layout_width="0dp"
More information about the Android
mailing list