mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-18 16:03:18 +00:00
Make sure the FAB is always displayed on top
Partially fixes API level 19 compatibility
This commit is contained in:
parent
da2f69f860
commit
5aad0d62f9
1 changed files with 8 additions and 7 deletions
|
@ -21,6 +21,14 @@
|
|||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
<fragment
|
||||
android:name="me.impy.aegis.KeyProfileView"
|
||||
android:id="@+id/key_profiles"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
||||
|
||||
<!-- note: the fab should always be the last element to be sure it's displayed on top -->
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/fab"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -30,11 +38,4 @@
|
|||
android:src="@drawable/ic_add_black_24dp"
|
||||
android:tint="@color/background"/>
|
||||
|
||||
<fragment
|
||||
android:name="me.impy.aegis.KeyProfileView"
|
||||
android:id="@+id/key_profiles"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue