[Android] Fix question dialog layout
Geoffrey Métais
git at videolan.org
Fri Apr 22 10:23:43 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Apr 22 09:07:20 2016 +0200| [bea427f0a361c227052ba261b3afb3d0c799d503] | committer: Geoffrey Métais
Fix question dialog layout
> https://code.videolan.org/videolan/vlc-android/commit/bea427f0a361c227052ba261b3afb3d0c799d503
---
vlc-android/res/layout/vlc_question_dialog.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vlc-android/res/layout/vlc_question_dialog.xml b/vlc-android/res/layout/vlc_question_dialog.xml
index cb4da1f..f05d19d 100644
--- a/vlc-android/res/layout/vlc_question_dialog.xml
+++ b/vlc-android/res/layout/vlc_question_dialog.xml
@@ -24,7 +24,7 @@
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@+id/store"
+ android:layout_below="@+id/text"
android:text="@android:string/cancel"
android:layout_toLeftOf="@+id/action1"
android:onClick="@{handler.onCancel}"
@@ -35,7 +35,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/action2"
- android:layout_below="@+id/store"
+ android:layout_below="@+id/text"
android:text="@{dialog.action1Text}"
android:visibility="@{TextUtils.isEmpty(dialog.action1Text) ? View.GONE : View.VISIBLE}"
android:onClick="@{handler.onAction1}"
@@ -46,7 +46,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
- android:layout_below="@+id/store"
+ android:layout_below="@+id/text"
android:text="@{dialog.action2Text}"
android:visibility="@{TextUtils.isEmpty(dialog.action2Text) ? View.GONE : View.VISIBLE}"
android:onClick="@{handler.onAction2}"
More information about the Android
mailing list