Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.design.widget.NavigationView
- android:id="@+id/navView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:background="@color/colorBackgroud"
- app:headerLayout="@layout/nav_header"
- app:itemIconTint="@color/textColorPrimary"
- app:itemTextColor="@color/textColorPrimary"
- app:menu="@menu/menu_nav">
- NavigationView navigationView = (NavigationView) findViewById(R.id.navView);
- navigationView.setNavigationItemSelectedListener(this);
Add Comment
Please, Sign In to add comment