Added Android code
[wl-app.git] / Android / app / src / main / res / layout / activity_main.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <android.support.v4.widget.DrawerLayout
3     android:id="@+id/drawer_layout"
4     xmlns:android="http://schemas.android.com/apk/res/android"
5     xmlns:tools="http://schemas.android.com/tools"
6     android:layout_width="match_parent"
7     android:layout_height="match_parent"
8     tools:ignore="SpUsage">
9
10     <!-- The main content view -->
11     <FrameLayout
12         android:id="@+id/content"
13         android:layout_width="match_parent"
14         android:layout_height="match_parent"/>
15
16     <!-- The navigation drawer -->
17     <RelativeLayout
18         android:layout_width="300dp"
19         android:layout_height="match_parent"
20         android:layout_gravity="start"
21         android:background="@color/turquoise_dark">
22
23         <include layout="@layout/navigation_footer"/>
24
25         <android.support.v7.widget.RecyclerView
26             android:id="@+id/rvNavigation"
27             android:layout_width="match_parent"
28             android:layout_height="match_parent"
29             android:layout_above="@id/llProfileContainer"/>
30     </RelativeLayout>
31
32 </android.support.v4.widget.DrawerLayout>