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 | 44 |
1 files changed, 44 insertions, 0 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 new file mode 100644 index 00000000..de3db618 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/activity_master_phone.xml @@ -0,0 +1,44 @@ + <androidx.drawerlayout.widget.DrawerLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:fitsSystemWindows="true" + android:id="@+id/headlines_drawer" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <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" + android:layout_width="300dp" + android:layout_height="match_parent" + android:layout_gravity="start" + android:background="@android:color/white" + android:elevation="10dp" + android:fitsSystemWindows="true" + app:insetForeground="#4000"> + + <FrameLayout + android:id="@+id/feeds_fragment" + android:layout_width="match_parent" + android:background="?feedlistBackground" + android:layout_height="match_parent" > + </FrameLayout> + + </org.fox.ttrss.util.ScrimInsetsFrameLayout> + + </androidx.drawerlayout.widget.DrawerLayout> |