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(R.id.nav_view);

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

ImageView img = (ImageView) header.findViewById(R.id.WallpaperOfTheDay_img);

Contributer

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

0 comments:

Popular Posts