/** * 设置TextView右侧图标 * * @param textView */ public static void setTextViewRightDrawable(TextView textView, int icon) { Drawable drawable = textView.getContext().getResources().getDrawable(icon);// 获取res下的图片drawable drawable.setBounds(0,
Android 设置TextView或者view其他视图的图标
最新推荐文章于 2024-01-25 16:35:20 发布