[Android] Playlist : Fix the 6 saved playlists issue
Alexandre Perraud
git at videolan.org
Wed Aug 3 18:15:05 CEST 2016
vlc-android | branch: 2.0.x | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon Aug 1 16:53:38 2016 +0200| [ab6e3e8edd594f2ca9be49284689b0275ed09df2] | committer: Geoffrey Métais
Playlist : Fix the 6 saved playlists issue
(cherry picked from commit 265f05442b311c6c68a2e0dfd85c1064c1951948)
> https://code.videolan.org/videolan/vlc-android/commit/ab6e3e8edd594f2ca9be49284689b0275ed09df2
---
vlc-android/res/layout/dialog_playlist.xml | 36 +++++++++++++++---------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/vlc-android/res/layout/dialog_playlist.xml b/vlc-android/res/layout/dialog_playlist.xml
index ee01dda..789c092 100644
--- a/vlc-android/res/layout/dialog_playlist.xml
+++ b/vlc-android/res/layout/dialog_playlist.xml
@@ -20,28 +20,12 @@
android:inputType="text"
android:imeOptions="actionSend"/>
</android.support.design.widget.TextInputLayout>
- <FrameLayout
- android:id="@+id/dialog_list_container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/half_default_margin"
- android:layout_below="@+id/dialog_playlist_name">
- <ListView
- android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
- <TextView
- android:id="@android:id/empty"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/noplaylist"/>
- </FrameLayout>
<Button
android:id="@+id/dialog_playlist_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@android:string/cancel"
- android:layout_below="@id/dialog_list_container"
+ android:layout_below="@+id/dialog_playlist_name"
android:layout_toLeftOf="@+id/dialog_playlist_save"
tools:targetApi="11"
style="?android:attr/borderlessButtonStyle"/>
@@ -51,7 +35,23 @@
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@android:string/ok"
- android:layout_below="@id/dialog_list_container"
+ android:layout_below="@+id/dialog_playlist_name"
tools:targetApi="11"
style="?android:attr/borderlessButtonStyle"/>
+ <FrameLayout
+ android:id="@+id/dialog_list_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/half_default_margin"
+ android:layout_below="@+id/dialog_playlist_cancel">
+ <ListView
+ android:id="@android:id/list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+ <TextView
+ android:id="@android:id/empty"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/noplaylist"/>
+ </FrameLayout>
</RelativeLayout>
\ No newline at end of file
More information about the Android
mailing list