Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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
	}
});
 
PREVIOUS NEXT
Tagged: #Set #icon #toolbar #android
ADD COMMENT
Topic
Name
5+2 =