Refer to the doc: http://android-developers.blogspot.com/2009/02/android-layout-tricks-2-reusing-layouts.html
I have a button inside the included layout, how can I a
i think your mean is NavigationView. you can access to inner layout by this way:
NavigationView ngv= (NavigationView) findViewById(R.id.navigation_id); View innerview = ngv.getHeaderView(0); TextView user_view= (TextView)innerview.findViewById(R.id.nav_name); //any you need user_view.setText(user);