1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 11:26:47 +01:00

Change fab margin (#1042)

Place the FAB according to android material design guidelines

Fixes #1041
This commit is contained in:
Allen B 2018-03-27 15:01:25 -04:00 committed by Daniele Gobbetti
parent 49b06537ee
commit e04cfc2267
2 changed files with 2 additions and 8 deletions

View File

@ -31,10 +31,7 @@
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_gravity="bottom|end" android:layout_gravity="bottom|end"
app:srcCompat="@drawable/ic_add" app:srcCompat="@drawable/ic_add"
app:elevation="6dp" android:layout_margin="16dp" />
app:pressedTranslationZ="12dp"
android:layout_marginBottom="30dp"
android:layout_marginEnd="10dp" />
</android.support.design.widget.CoordinatorLayout> </android.support.design.widget.CoordinatorLayout>

View File

@ -34,9 +34,6 @@
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_gravity="bottom|end" android:layout_gravity="bottom|end"
app:srcCompat="@drawable/ic_add" app:srcCompat="@drawable/ic_add"
app:elevation="6dp" android:layout_margin="16dp" />
app:pressedTranslationZ="12dp"
android:layout_marginBottom="30dp"
android:layout_marginEnd="10dp" />
</android.widget.RelativeLayout> </android.widget.RelativeLayout>