[Android] Fix RTL layout for browsers separators
Geoffrey Métais
git at videolan.org
Wed Apr 20 18:02:34 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 20 18:01:29 2016 +0200| [abf46b455db721495b9db1ab330b210dcf7345e6] | committer: Geoffrey Métais
Fix RTL layout for browsers separators
> https://code.videolan.org/videolan/vlc-android/commit/abf46b455db721495b9db1ab330b210dcf7345e6
---
vlc-android/res/layout/browser_item_separator.xml | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/vlc-android/res/layout/browser_item_separator.xml b/vlc-android/res/layout/browser_item_separator.xml
index 943196c..7a00ace 100644
--- a/vlc-android/res/layout/browser_item_separator.xml
+++ b/vlc-android/res/layout/browser_item_separator.xml
@@ -6,16 +6,13 @@
name="title"
type="String"/>
</data>
- <LinearLayout
- android:orientation="vertical" android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TextView
- android:id="@+id/separator_title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="10dp"
- android:layout_marginTop="10dp"
- android:layout_marginLeft="20dp"
- android:text="@{title}"/>
- </LinearLayout>
+ <TextView
+ android:id="@+id/separator_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="20dp"
+ android:layout_marginStart="20dp"
+ android:text="@{title}"/>
</layout>
More information about the Android
mailing list