Navigation Layout

November 14, 2015 , , 0 Comments

If we want to set Imageview as dynmically in navigation view at that time use this code.

NavigationView navigationView = (NavigationView) findViewById(;

View header = LayoutInflater.from(MainDrawerActivity.this).inflate(R.layout.nav_header_main_drawer,navigationView);

ImageView img = (ImageView) header.findViewById(;


Some say he’s half man half fish, others say he’s more of a seventy/thirty split. Either way he’s a fishy bastard. Google


Popular Posts