Guest User

Untitled

a guest
Dec 11th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <android.support.design.widget.NavigationView
  2. android:id="@+id/navView"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:layout_gravity="start"
  6. android:background="@color/colorBackgroud"
  7. app:headerLayout="@layout/nav_header"
  8. app:itemIconTint="@color/textColorPrimary"
  9. app:itemTextColor="@color/textColorPrimary"
  10. app:menu="@menu/menu_nav">
  11.  
  12. NavigationView navigationView = (NavigationView) findViewById(R.id.navView);
  13. navigationView.setNavigationItemSelectedListener(this);
Add Comment
Please, Sign In to add comment