diff options
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.xml | 26 |
1 files changed, 24 insertions, 2 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 de3db618..d63d9fb9 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 @@ -5,7 +5,29 @@ android:layout_width="fill_parent" android:layout_height="fill_parent"> - <FrameLayout + <androidx.coordinatorlayout.widget.CoordinatorLayout + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <com.google.android.material.appbar.AppBarLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <include layout="@layout/toolbar" android:id="@+id/toolbar" /> + + </com.google.android.material.appbar.AppBarLayout> + + <FrameLayout + android:id="@+id/headlines_fragment" + app:layout_behavior="@string/appbar_scrolling_view_behavior" + 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" @@ -19,7 +41,7 @@ <include layout="@layout/toolbar" android:id="@+id/toolbar" /> - </FrameLayout> + </FrameLayout> --> <org.fox.ttrss.util.ScrimInsetsFrameLayout xmlns:app="http://schemas.android.com/apk/res-auto" |