Android Api 23 Change Navigation View headerLayout textview

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);

Leave a Comment