[Android] Fix RTL layout for audio lists items

Geoffrey Métais git at videolan.org
Wed Apr 20 16:57:04 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 20 16:52:39 2016 +0200| [e8b6cbd94b20e4664bdb3870e7ec4dcb45dc7f00] | committer: Geoffrey Métais

Fix RTL layout for audio lists items

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

 vlc-android/res/layout/audio_browser_item.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/vlc-android/res/layout/audio_browser_item.xml b/vlc-android/res/layout/audio_browser_item.xml
index 8749230..4221111 100644
--- a/vlc-android/res/layout/audio_browser_item.xml
+++ b/vlc-android/res/layout/audio_browser_item.xml
@@ -49,8 +49,11 @@
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_toRightOf="@+id/media_cover"
+                android:layout_toEndOf="@+id/media_cover"
                 android:layout_toLeftOf="@+id/item_more"
+                android:layout_toStartOf="@+id/item_more"
                 android:paddingLeft="15dp"
+                android:paddingStart="15dp"
                 android:layout_centerVertical="true"
                 android:orientation="vertical" >
 
@@ -85,6 +88,7 @@
                 android:layout_height="wrap_content"
                 android:layout_centerVertical="true"
                 android:layout_alignParentRight="true"
+                android:layout_alignParentEnd="true"
                 android:background="@drawable/ic_more"
                 android:contentDescription="@string/more_actions"
                 android:tag="@{position}"



More information about the Android mailing list