summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/activity_master_phone.xml
diff options
context:
space:
mode:
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/activity_master_phone.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/activity_master_phone.xml27
1 files changed, 10 insertions, 17 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/activity_master_phone.xml b/org.fox.ttrss/src/main/res/layout/activity_master_phone.xml
index d63d9fb9..6ae5064f 100644
--- a/org.fox.ttrss/src/main/res/layout/activity_master_phone.xml
+++ b/org.fox.ttrss/src/main/res/layout/activity_master_phone.xml
@@ -10,6 +10,15 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
+ android:id="@+id/master_fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end|bottom"
+ android:visibility="gone"
+ android:src="@drawable/ic_refresh"
+ android:layout_margin="16dp" />
+
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
@@ -20,29 +29,13 @@
<FrameLayout
android:id="@+id/headlines_fragment"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
+ app:layout_behavior=".util.FabAwareScrollingViewBehavior"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?headlinesBackground" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
- <!-- <FrameLayout
- android:fitsSystemWindows="true"
- android:animateLayoutChanges="true"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <FrameLayout
- android:id="@+id/headlines_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="?headlinesBackground" />
-
- <include layout="@layout/toolbar" android:id="@+id/toolbar" />
-
- </FrameLayout> -->
-
<org.fox.ttrss.util.ScrimInsetsFrameLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/scrimInsetsFrameLayout"