0
//改變箭頭的顏色或圖像顯示圖像如何改變如何更改搜索視圖主頁向上箭頭或其在android的顏色?
final Drawable upArrow = getResources().getDrawable(R.drawable.abc_ic_ab_back_mtrl_am_alpha);
upArrow.setColorFilter(getResources().getColor(R.color.app_theme_color), PorterDuff.Mode.SRC_ATOP);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {`enter code here`
mActionBar.setHomeAsUpIndicator(getResources().getDrawable(R.drawable.arrow));
}
我設置圖標,但我想刪除該箭頭的更改或顏色更改或圖標更改 –