|
8 | 8 | android:layout_height="match_parent" |
9 | 9 | tools:context=".messagelist.MessageListFragment" |
10 | 10 | > |
| 11 | + <com.google.android.material.floatingactionbutton.FloatingActionButton |
| 12 | + android:id="@+id/floating_action_button" |
| 13 | + android:layout_width="wrap_content" |
| 14 | + android:layout_height="wrap_content" |
| 15 | + android:layout_gravity="bottom|end" |
| 16 | + android:layout_margin="@dimen/floatingActionButtonMargin" |
| 17 | + android:contentDescription="@string/compose_action" |
| 18 | + app:layout_behavior="com.fsck.k9.ui.fab.HideFabOnScrollBehavior" |
| 19 | + app:srcCompat="@drawable/ic_edit" |
| 20 | + android:focusable="true" |
| 21 | + /> |
11 | 22 |
|
12 | 23 | <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
13 | 24 | android:id="@+id/swiperefresh" |
|
29 | 40 |
|
30 | 41 | </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
31 | 42 |
|
32 | | - <com.google.android.material.floatingactionbutton.FloatingActionButton |
33 | | - android:id="@+id/floating_action_button" |
34 | | - android:layout_width="wrap_content" |
35 | | - android:layout_height="wrap_content" |
36 | | - android:layout_gravity="bottom|end" |
37 | | - android:layout_margin="@dimen/floatingActionButtonMargin" |
38 | | - android:contentDescription="@string/compose_action" |
39 | | - app:layout_behavior="com.fsck.k9.ui.fab.HideFabOnScrollBehavior" |
40 | | - app:srcCompat="@drawable/ic_edit" |
41 | | - /> |
| 43 | + |
42 | 44 |
|
43 | 45 | </androidx.coordinatorlayout.widget.CoordinatorLayout> |
0 commit comments