activity_master.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <androidx.drawerlayout.widget.DrawerLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:fitsSystemWindows="true"
  4. android:id="@+id/headlines_drawer"
  5. android:layout_width="fill_parent"
  6. android:layout_height="fill_parent">
  7. <FrameLayout
  8. android:fitsSystemWindows="true"
  9. android:animateLayoutChanges="true"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12. <FrameLayout
  13. android:id="@+id/headlines_fragment"
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:background="?headlinesBackground"></FrameLayout>
  17. <include layout="@layout/toolbar" android:id="@+id/toolbar" />
  18. </FrameLayout>
  19. <org.fox.ttrss.util.ScrimInsetsFrameLayout
  20. xmlns:app="http://schemas.android.com/apk/res-auto"
  21. android:id="@+id/scrimInsetsFrameLayout"
  22. android:layout_width="300dp"
  23. android:layout_height="match_parent"
  24. android:layout_gravity="start"
  25. android:background="@android:color/white"
  26. android:elevation="10dp"
  27. android:fitsSystemWindows="true"
  28. app:insetForeground="#4000">
  29. <FrameLayout
  30. android:id="@+id/feeds_fragment"
  31. android:layout_width="match_parent"
  32. android:background="?feedlistBackground"
  33. android:layout_height="match_parent" >
  34. </FrameLayout>
  35. </org.fox.ttrss.util.ScrimInsetsFrameLayout>
  36. </androidx.drawerlayout.widget.DrawerLayout>