diff options
author | Camil Staps | 2015-06-04 14:57:30 +0200 |
---|---|---|
committer | Camil Staps | 2015-06-04 14:57:30 +0200 |
commit | 7b7d6e3f0c7abd24b1174875c40e15b6dd1dbde1 (patch) | |
tree | 1862341076f5c408dd7d5d41eced10dc9f106476 /app/src/main/res/layout/activity_home_screen.xml | |
parent | Merge branch 'app' of github:camilstaps/RSSin into app (diff) | |
parent | Added hamburger menu, working filters and unified inbox. Open old UI by going... (diff) |
Merge branch 'master' into app
Diffstat (limited to 'app/src/main/res/layout/activity_home_screen.xml')
-rwxr-xr-x | app/src/main/res/layout/activity_home_screen.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_home_screen.xml b/app/src/main/res/layout/activity_home_screen.xml new file mode 100755 index 0000000..f6fcc0c --- /dev/null +++ b/app/src/main/res/layout/activity_home_screen.xml @@ -0,0 +1,24 @@ +<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
+<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools" android:id="@+id/drawer_layout"
+ android:layout_width="match_parent" android:layout_height="match_parent"
+ tools:context="org.rssin.android.HomeScreenActivity">
+
+ <!-- As the main content view, the view below consumes the entire
+ space available using match_parent in both dimensions. -->
+ <FrameLayout android:id="@+id/container" android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ <!-- android:layout_gravity="start" tells DrawerLayout to treat
+ this as a sliding drawer on the left side for left-to-right
+ languages and on the right side for right-to-left languages.
+ If you're not building against API 17 or higher, use
+ android:layout_gravity="left" instead. -->
+ <!-- The drawer is given a fixed width in dp and extends the full height of
+ the container. -->
+ <fragment android:id="@+id/navigation_drawer"
+ android:layout_width="@dimen/navigation_drawer_width" android:layout_height="match_parent"
+ android:layout_gravity="start" android:name="org.rssin.android.NavigationDrawerFragment"
+ tools:layout="@layout/fragment_navigation_drawer" />
+
+</android.support.v4.widget.DrawerLayout>
|