From e04cfc22674c9c6b2cf2dac446fbd4aa3dfeee7c Mon Sep 17 00:00:00 2001 From: Allen B <28495335+Allen-B1@users.noreply.github.com> Date: Tue, 27 Mar 2018 15:01:25 -0400 Subject: [PATCH] Change fab margin (#1042) Place the FAB according to android material design guidelines Fixes #1041 --- .../res/layout/activity_controlcenterv2_app_bar_main.xml | 5 +---- app/src/main/res/layout/activity_fragmentappmanager.xml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/activity_controlcenterv2_app_bar_main.xml b/app/src/main/res/layout/activity_controlcenterv2_app_bar_main.xml index 533fad9af..97effba5c 100644 --- a/app/src/main/res/layout/activity_controlcenterv2_app_bar_main.xml +++ b/app/src/main/res/layout/activity_controlcenterv2_app_bar_main.xml @@ -31,10 +31,7 @@ android:layout_alignParentEnd="true" android:layout_gravity="bottom|end" app:srcCompat="@drawable/ic_add" - app:elevation="6dp" - app:pressedTranslationZ="12dp" - android:layout_marginBottom="30dp" - android:layout_marginEnd="10dp" /> + android:layout_margin="16dp" /> diff --git a/app/src/main/res/layout/activity_fragmentappmanager.xml b/app/src/main/res/layout/activity_fragmentappmanager.xml index 67e121707..1dd9a6e72 100644 --- a/app/src/main/res/layout/activity_fragmentappmanager.xml +++ b/app/src/main/res/layout/activity_fragmentappmanager.xml @@ -34,9 +34,6 @@ android:layout_alignParentEnd="true" android:layout_gravity="bottom|end" app:srcCompat="@drawable/ic_add" - app:elevation="6dp" - app:pressedTranslationZ="12dp" - android:layout_marginBottom="30dp" - android:layout_marginEnd="10dp" /> + android:layout_margin="16dp" />