[Android] Smaller margins for FAB on small devices

Geoffrey Métais git at videolan.org
Thu Jan 31 11:42:25 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 31 10:18:33 2019 +0100| [cf678dad8b9e9f3b1348be3de8c4e533d68738d1] | committer: Geoffrey Métais

Smaller margins for FAB on small devices

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

 vlc-android/res/layout/main.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/main.xml b/vlc-android/res/layout/main.xml
index d53aba122..d8ed5e506 100644
--- a/vlc-android/res/layout/main.xml
+++ b/vlc-android/res/layout/main.xml
@@ -47,7 +47,7 @@
             app:layout_anchorGravity="bottom|end"
             app:layout_behavior="org.videolan.vlc.gui.helpers.FloatingActionButtonBehavior"
             android:visibility="invisible"
-            android:layout_margin="16dp"/>
+            android:layout_margin="@dimen/default_margin"/>
     </androidx.coordinatorlayout.widget.CoordinatorLayout>
 
     <!-- The navigation drawer -->



More information about the Android mailing list