NavigationView navigationView = (NavigationView) findViewById(R.id.id_nav_std_view); navigationView.setNavigationItemSelectedListener(this); View headerview=navigationView.getHeaderView(0); txtview_edit =(TextView)headerview.findViewById(R.id.id_txt_edit_std_profile); txtview_edit.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(StudentNavigation.this,EditStudentProfileActivity.class); startActivity(intent); } });
Sunday, 15 October 2017
Navigation Drawer header on click Edit Profile
Subscribe to:
Post Comments (Atom)
AutoComplete Address (Updated)
-------------------------------------Activity---------------------------------- package placeautocomplete.iteritory.com; import androi...
-
NavigationView navigationView = (NavigationView) findViewById(R.id. id_nav_std_view ); navigationView.setNavigationItemSelectedLi...
-
An android SDK that provides a new size unit - sdp (scalable dp). This size unit scales with the screen size. It can help Android de...
Thank u ...Very useful for me
ReplyDeletecorrect
ReplyDelete