Created
May 17, 2016 05:40
-
-
Save anonymous/9ed82c5ee21c6f3dbb1bef469d0db4d9 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 xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/drawer_layout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<!--<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:id="@+id/container_toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<include | |
android:id="@+id/toolbar" | |
layout="@layout/toolbar" /> | |
</LinearLayout>--> | |
<android.support.design.widget.CoordinatorLayout | |
android:id="@+id/root_coordinator" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<android.support.design.widget.AppBarLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<android.support.design.widget.CollapsingToolbarLayout | |
android:id="@+id/collapsing_toolbar_layout" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
app:contentScrim="?attr/colorPrimary" | |
app:layout_scrollFlags="scroll|enterAlways"> | |
<include | |
android:id="@+id/toolbar" | |
layout="@layout/toolbar" | |
app:contentInsetLeft="0dp" | |
app:contentInsetStart="0dp" | |
app:layout_collapseMode="pin" /> | |
</android.support.design.widget.CollapsingToolbarLayout> | |
</android.support.design.widget.AppBarLayout> | |
<FrameLayout | |
android:id="@+id/container_body" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior" /> | |
</android.support.design.widget.CoordinatorLayout> | |
<!-- <FrameLayout | |
android:id="@+id/container_body" | |
android:layout_width="fill_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
/>--> | |
<!--</LinearLayout>--> | |
<android.support.design.widget.NavigationView | |
android:id="@+id/fragment_navigation_drawer" | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:layout_gravity="start" | |
app:itemBackground="@android:color/transparent" | |
app:itemIconTint="@drawable/drawer_item_selector" | |
app:itemTextColor="@drawable/drawer_item_selector" | |
app:menu="@menu/drawer" | |
app:theme="@style/NavigationDrawerStyle" /> | |
<!--app:headerLayout="@layout/nav_header"--> | |
<!--app:itemIconTint="@color/navdrawer_menu_textColor"--> | |
<!--app:itemTextColor="@color/navdrawer_menu_textColor"--> | |
<!--app:itemTextColor="@color/selector_nav"--> | |
<android.support.design.widget.NavigationView | |
android:id="@+id/fragment_navigation_drawer_right" | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:layout_gravity="end" | |
app:itemBackground="@android:color/transparent" | |
app:itemIconTint="@color/selector_nav" | |
app:itemTextColor="@color/navdrawer_menu_textColor"> | |
<!--app:itemTextColor="@color/selector_nav"--> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="56dp" | |
android:background="@color/colorPrimary" | |
android:gravity="center" | |
android:paddingBottom="5dp" | |
android:paddingTop="5dp" | |
android:text="Notification" | |
android:textColor="@color/white" | |
android:textSize="20dp" /> | |
<!-- <View | |
android:layout_width="wrap_content" | |
android:layout_height="2dp" | |
android:layout_marginTop="5dp" | |
android:background="#efefef" />--> | |
<com.rinc.ruprise.r.utils.customs.CustomRecyclerView | |
android:id="@+id/fragment_navigation_drawer_right_recyclerView" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:divider="@null" /> | |
<!-- <ListView | |
android:id="@+id/fragment_navigation_drawer_right_listView" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" />--> | |
</LinearLayout> | |
</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