Answers for "Set icon for toolbar android"

0

Set icon for toolbar android

Toolbar toolbar = findViewById(R.id.toolBar);

toolbar.setNavigationIcon(R.drawable.ic_baseline_arrow_right_24);
toolbar.setNavigationOnClickListener(new View.OnClickListener() {
@Override
	public void onClick(View v) {
		// You Code
	}
});
Posted by: Guest on February-21-2022

Code answers related to "Set icon for toolbar android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language