[Android] Center empty text in playlist dialog

Geoffrey Métais git at videolan.org
Thu Aug 31 17:48:14 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Aug 31 17:12:52 2017 +0200| [611d0e63d2b19276aa2c6d85817c08f5afa2ab39] | committer: Geoffrey Métais

Center empty text in playlist dialog

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

 vlc-android/res/layout/dialog_playlist.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/dialog_playlist.xml b/vlc-android/res/layout/dialog_playlist.xml
index 35ca16113..74ac47cf3 100644
--- a/vlc-android/res/layout/dialog_playlist.xml
+++ b/vlc-android/res/layout/dialog_playlist.xml
@@ -3,7 +3,7 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:padding="@dimen/half_default_margin">
+    android:padding="@dimen/default_margin">
 
     <!--TODO : textColorHint doesn't work -->
     <android.support.design.widget.TextInputLayout
@@ -52,6 +52,7 @@
             android:id="@android:id/empty"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
+            android:gravity="center_horizontal"
             android:text="@string/noplaylist"/>
     </FrameLayout>
 </RelativeLayout>
\ No newline at end of file



More information about the Android mailing list