android EditText设置圆角
Android EditText 设置圆角
在drawable 下新建 shape.xml 文件
<?xml version=”1.0” encoding=”UTF-8”?>
2.设置引用
android:background=”@drawable/shape”
EditText 其它属性
android:hint=”请输入用户名”
android:drawableLeft=”@drawable/ic_launcher”
还没有评论,来说两句吧...