实现如上图红色矩形框里所示的效果,使用了
TextView
的setCompoundDrawables
方法让问号图标显示在文字后面,代码如下:
//获取问号图标
private Drawable getQuestionMarkDrawable() {
Drawable drawable = getResources().getDrawable(R
实现如上图红色矩形框里所示的效果,使用了
TextView
的setCompoundDrawables
方法让问号图标显示在文字后面,代码如下:
//获取问号图标
private Drawable getQuestionMarkDrawable() {
Drawable drawable = getResources().getDrawable(R
微信扫码登录