ActionBar actionBar = getActionBar();
actionBar.setIcon(new ColorDrawable(getResources().getColor(android.R.color.transparent)));
This above is to hide the app icon. but not hide the icon most left. so it can show normally.
ActionBar actionBar = getActionBar();
actionBar.setIcon(new ColorDrawable(getResources().getColor(android.R.color.transparent)));
This above is to hide the app icon. but not hide the icon most left. so it can show normally.
转载于:https://www.cnblogs.com/howlaa/p/4140151.html