[Android] Fix background overlapping infos on remote view

Geoffrey Métais git at videolan.org
Mon Dec 18 17:56:10 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Dec 18 17:55:33 2017 +0100| [a23f1b2724f45f70801a0081ba520c1c0ad2d7c6] | committer: Geoffrey Métais

Fix background overlapping infos on remote view

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

 vlc-android/res/layout/player_remote_control.xml | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/vlc-android/res/layout/player_remote_control.xml b/vlc-android/res/layout/player_remote_control.xml
index bd94f68a6..1884b229c 100644
--- a/vlc-android/res/layout/player_remote_control.xml
+++ b/vlc-android/res/layout/player_remote_control.xml
@@ -39,6 +39,13 @@
         android:background="@color/grey850"
         android:fitsSystemWindows="true" >
 
+        <ImageView
+            android:id="@+id/player_remote_tips_background"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerInParent="true"
+            android:src="@drawable/background_cone" />
+
         <android.support.v7.widget.ViewStubCompat
             android:id="@+id/player_info_stub"
             android:layout_width="wrap_content"
@@ -48,14 +55,6 @@
             android:layout_marginBottom="@dimen/default_margin"
             android:layout="@layout/player_overlay_info"/>
 
-        <ImageView
-            android:id="@+id/player_remote_tips_background"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_centerInParent="true"
-            android:src="@drawable/background_cone"
-            android:visibility="invisible" />
-
         <RelativeLayout
             android:layout_width="match_parent"
             android:layout_height="match_parent"



More information about the Android mailing list