Drawable wbDrawable = AppCompatResources.getDrawable(mContext,R.drawable.weibo_black);
ColorStateList textCslXmlWithCustomTheme =
AppCompatResources.getColorStateList(mContext, R.color.black);
Drawable wbDrawable = AppCompatResources.getDrawable(mContext,R.drawable.weibo_black);
ColorStateList textCslXmlWithCustomTheme =
AppCompatResources.getColorStateList(mContext, R.color.black);
本文标题:Android 通过代码获取Drawable和Color
本文链接:https://www.haomeiwen.com/subject/cvllottx.html
网友评论