aniyomi/app/src/main/res/layout/activity_main.xml

25 lines
897 B
XML
Raw Normal View History

2015-09-25 13:44:11 +03:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-09-24 18:27:43 +03:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
2015-09-24 18:27:43 +03:00
<include
2015-09-25 13:44:11 +03:00
android:id="@+id/toolbar"
layout="@layout/toolbar" />
2015-09-25 13:44:11 +03:00
<!-- the layout which will contain (host) the drawerLayout -->
<FrameLayout
android:id="@+id/drawer_container"
2015-09-24 18:27:43 +03:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/toolbar">
2015-09-24 18:27:43 +03:00
2015-09-25 13:44:11 +03:00
<!-- the layout which will be the content of the activity (which will be hosted inside the drawer (NOT the list of the drawer)) -->
<FrameLayout
android:id="@+id/frame_container"
2015-09-24 18:27:43 +03:00
android:layout_width="match_parent"
2015-09-25 13:44:11 +03:00
android:layout_height="match_parent">
2015-09-24 18:27:43 +03:00
2015-09-25 13:44:11 +03:00
</FrameLayout>
</FrameLayout>
</RelativeLayout>