fix: Lock button position

This commit is contained in:
J-Jamet
2023-07-20 23:09:00 +02:00
parent 9191fd4a21
commit 44628f6fc4

View File

@@ -2,7 +2,9 @@
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_margin="0dp"
android:padding="0dp"
android:filterTouchesWhenObscured="true">
<com.google.android.material.floatingactionbutton.FloatingActionButton
xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -10,9 +12,12 @@
style="@style/KeepassDXStyle.Fab.Special"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:useCompatPadding="false"
android:layout_margin="8dp"
app:useCompatPadding="true"
android:layout_marginStart="-6dp"
android:layout_marginLeft="-6dp"
android:layout_marginBottom="-10dp"
android:contentDescription="@string/lock"
android:layout_gravity="bottom"
android:visibility="visible"
android:src="@drawable/ic_lock_white_padding_24dp" />
</FrameLayout>