有的时候需要隐藏掉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" />

效果图:
隐藏android中EditText的下划线_第1张图片

更多相关文章

  1. 2011.12.06——— android 带边框的ImageView
  2. android gallery 去掉渐变的边框
  3. Android边框背景
  4. Android TableLayout 实现边框
  5. Android系列教程(2):为 TextView组件加上边框
  6. android 用 XML 自定义边框(只上下边框有色)
  7. Android TextView 设置中划线 下划线
  8. android 中隐藏EditText的下划线方法
  9. android 加边框

随机推荐

  1. Android中的Audio播放:竞争Audio之Audio F
  2. 详解Android中一些SQLite的增删改查操作
  3. Android常见控件初探
  4. Android客户端接收来自Faye的消息推送
  5. android 时间
  6. android中statusbar高度的问题
  7. Android:ImageView
  8. Android Styles and Themes
  9. Android UI设计
  10. Android布局中margin,padding,align的区