Open
Description
I am using the same logic but getActionBarIcon() returns null. Actually android.R.id.home as a imageview is returning null.
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private ImageView getActionBarIconView() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
return (ImageView) findViewById(android.R.id.home);
}
return (ImageView) findViewById(android.support.v7.appcompat.R.id.home);
}
Help me please!!!!
Metadata
Metadata
Assignees
Labels
No labels