Created
July 26, 2016 22:02
-
-
Save blackmann/1cd7da768566376665afc5e5a598f49d to your computer and use it in GitHub Desktop.
Base layout resource for winwin nav
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
<?xml version="1.0" encoding="utf-8"?> | |
<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:orientation="vertical"> | |
<android.support.design.widget.CoordinatorLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<!-- This view contains sub-class' content views --> | |
<FrameLayout | |
android:id="@+id/container" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" /> | |
<!-- This view will be used for the bottom sheet --> | |
<!-- don't forget to add the layout_behaviour --> | |
<android.support.design.widget.NavigationView | |
android:id="@+id/navigation" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="#ffffff" | |
app:headerLayout="@layout/view_drawer_header" | |
app:itemIconTint="#8b8b8b" | |
app:itemTextColor="#666666" | |
app:layout_behavior="android.support.design.widget.BottomSheetBehavior" /> | |
</android.support.design.widget.CoordinatorLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment