[Android] Fix renderers disconnect button visibility

Geoffrey Métais git at videolan.org
Wed Oct 31 10:23:33 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Oct 31 10:22:17 2018 +0100| [e94d5b3f0d5ffede5496ae94caafba504e929a0f] | committer: Geoffrey Métais

Fix renderers disconnect button visibility

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

 vlc-android/res/layout/dialog_renderers.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vlc-android/res/layout/dialog_renderers.xml b/vlc-android/res/layout/dialog_renderers.xml
index 30fbdae3b..34d5d4e17 100644
--- a/vlc-android/res/layout/dialog_renderers.xml
+++ b/vlc-android/res/layout/dialog_renderers.xml
@@ -34,13 +34,12 @@
             android:id="@+id/renderers_disconnect"
             android:layout_width="0dp"
             android:layout_height="wrap_content"
+            android:layout_marginStart="8dp"
+            android:layout_marginEnd="8dp"
             app:layout_constraintRight_toRightOf="parent"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintBottom_toBottomOf="parent"
             android:text="@string/renderers_disconnect"
-            tools:targetApi="11"
-            style="?android:attr/borderlessButtonStyle"
-            android:textColor="@color/orange800"
             android:textAppearance="@style/TextAppearance.AppCompat.Medium"
             android:onClick="@{() -> holder.connect((RendererItem)null)}" />
     </androidx.constraintlayout.widget.ConstraintLayout>



More information about the Android mailing list