0
点赞
收藏
分享

微信扫一扫

隐藏android中EditText的下划线


有的时候需要隐藏掉EditText的边框和下划线,代码为: 
主要是这一栏:

android:background="@null"

<EditText
style="?android:attr/textViewStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:hint="输入用户名"
android:paddingBottom="5dip"
android:paddingTop="5dip" />

举报

相关推荐

0 条评论