I am testing the Navigation Drawer sample project in android and i have a problem setting the text in navigation view profile header.
This is my code:
MainAc
Now with the 23.1.1 release of the design support library, you can use
View header = navigationView.getHeaderView(0) TextView text = (TextView) header.findViewById(R.id.textView);