Last active
October 24, 2018 22:00
-
-
Save mastahnish/e91681e1b822832da9829389e0b1d0f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.v4.widget.DrawerLayout | |
android:id="@+id/activity_container" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<android.support.design.widget.CoordinatorLayout | |
android:id="@+id/cl_root_coordinator" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<android.support.design.widget.AppBarLayout | |
android:id="@+id/app_bar_layout" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="?actionBarSize" /> | |
</android.support.design.widget.AppBarLayout> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_marginTop="?actionBarSize"> | |
<FrameLayout | |
android:id="@+id/activity_content" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_above=@+id/navigation/> | |
<include | |
android:id="@id/navigation" | |
layout="@layout/element_bottom_navigation" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignParentBottom="true"/> | |
</RelativeLayout> | |
</android.support.design.widget.CoordinatorLayout> | |
<android.support.design.widget.NavigationView | |
android:id="@+id/nav_view" | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:layout_gravity="start" | |
app:headerLayout="@layout/nav_header_main" | |
app:menu="@menu/activity_main_drawer"> | |
</android.support.design.widget.NavigationView> | |
</android.support.v4.widget.DrawerLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment