Skip to content

Commit 23cf791

Browse files
Merge pull request #2888 from nextcloud/fix/note-direct-edit-fab-position
fix: note direct edit fab position
2 parents 01298b1 + 1b7a3bf commit 23cf791

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/src/main/res/layout/fragment_note_direct_edit.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
style="?attr/floatingActionButtonPrimaryStyle"
3333
android:layout_width="wrap_content"
3434
android:layout_height="wrap_content"
35-
android:layout_margin="@dimen/spacer_2x"
35+
android:layout_marginBottom="@dimen/note_direct_edit_fab_margin_bottom"
36+
android:layout_marginEnd="@dimen/spacer_2x"
3637
android:contentDescription="@string/noteMode_plain_edit"
3738
android:text="@string/noteMode_plain_edit"
3839
android:visibility="gone"

app/src/main/res/values/dimens.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
~ SPDX-License-Identifier: GPL-3.0-or-later
1010
-->
1111
<resources>
12+
<dimen name="note_direct_edit_fab_margin_bottom">64dp</dimen>
1213
<dimen name="zero">0dp</dimen>
1314

1415
<!-- Default screen margins, per the Android Design guidelines. -->

0 commit comments

Comments
 (0)