Drawable ico = getResources().getDrawable(R.drawable.search_box);
mSearchLayout.setBackgroundDrawable(ico);
ico.mutate().setAlpha(200);
转载于:https://www.cnblogs.com/xgjblog/p/4064679.html
Drawable ico = getResources().getDrawable(R.drawable.search_box);
mSearchLayout.setBackgroundDrawable(ico);
ico.mutate().setAlpha(200);
转载于:https://www.cnblogs.com/xgjblog/p/4064679.html