[Android] Fix FAB position

Nicolas Pomepuy git at videolan.org
Thu Apr 16 15:43:41 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr  8 13:02:29 2020 +0200| [dac0c39185cfa99b45b978fb60d04e66251fdb89] | committer: Nicolas Pomepuy

Fix FAB position

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

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

diff --git a/application/vlc-android/res/layout/main.xml b/application/vlc-android/res/layout/main.xml
index b83e9b956..0edc59ddf 100644
--- a/application/vlc-android/res/layout/main.xml
+++ b/application/vlc-android/res/layout/main.xml
@@ -42,8 +42,9 @@
             android:tint="@color/grey50"
             android:visibility="invisible"
             app:borderWidth="0dp"
-            app:layout_anchor="@+id/fragment_placeholder"
-            app:layout_anchorGravity="bottom|end"
+            app:layout_anchor="@+id/navigation"
+            app:layout_anchorGravity="top|end"
+            android:layout_gravity="top"
             app:layout_behavior="org.videolan.vlc.gui.helpers.FloatingActionButtonBehavior"
             app:rippleColor="@color/orange50" />
 



More information about the Android mailing list