diff options
author | Andrew Dolgov <[email protected]> | 2015-06-04 16:13:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-06-04 16:13:06 +0300 |
commit | 0dd21425bddc39279ccf741f4c9ae76b3b9fae90 (patch) | |
tree | 2dbdfbc3f70816e4b1b46ada30d4ff1aa763e416 /org.fox.ttrss/src/main/res/layout/headlines.xml | |
parent | 0112c0cc4f6f23f6fcb693cbae6edebcac701219 (diff) |
show drawer behind translucent statusbar, jesus fuck (2)
now with scriminsetwhatsitsface
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/headlines.xml')
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/headlines.xml | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines.xml b/org.fox.ttrss/src/main/res/layout/headlines.xml index fefced8c..233a6a69 100755 --- a/org.fox.ttrss/src/main/res/layout/headlines.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines.xml @@ -1,11 +1,9 @@ -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - <android.support.v4.widget.DrawerLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:fitsSystemWindows="true" android:id="@+id/headlines_drawer" - android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_width="fill_parent" + android:layout_height="fill_parent"> <FrameLayout android:fitsSystemWindows="true" @@ -23,17 +21,24 @@ </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="240dp" - android:layout_gravity="start" + android:layout_width="match_parent" android:background="?feedlistBackground" - android:elevation="4dp" android:layout_height="match_parent" > </FrameLayout> - </android.support.v4.widget.DrawerLayout> - + </org.fox.ttrss.util.ScrimInsetsFrameLayout> -</FrameLayout>
\ No newline at end of file + </android.support.v4.widget.DrawerLayout> |