Created
June 15, 2015 08:25
-
-
Save smuldr/1390b12d6fdda8af8b03 to your computer and use it in GitHub Desktop.
Android NavigationView below Toolbar
This file contains 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
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true" | |
android:orientation="vertical"> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="@dimen/abc_action_bar_default_height_material" | |
android:background="?attr/colorPrimary" | |
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"/> | |
<android.support.v4.widget.DrawerLayout | |
android:id="@+id/drawer_layout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<!-- Real content goes here --> | |
<FrameLayout | |
android:id="@+id/content" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"/> | |
<!-- The navigation drawer --> | |
<android.support.design.widget.NavigationView | |
android:id="@+id/navigation" | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:layout_gravity="start" | |
app:menu="@menu/drawer"/> | |
</android.support.v4.widget.DrawerLayout> | |
</LinearLayout> |
wow, amazing, you're the best :D 💯
Thanks dude you saved my day you really are the best
Thank you dude.....
Thank you man...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot dude