Button的自带背景实在是太丑了,当然可以直接用图片替换,但是如果要去除的话可以用下列这种方式: 

添加一个style


    android:layout_width="wrap_content"

    style="?android:attr/borderlessButtonStyle"

    android:layout_height="wrap_content"

    android:text="这是测试按钮"/>


这是区别 


更多相关文章

  1. Android(安卓)多点触摸 multi-touch
  2. mix
  3. Android之Dialog
  4. Android(安卓)之 ActionBar返回按钮
  5. ERROR: No installed build tools found. Install the Android(
  6. Android(安卓)DEX 方法超过64K限制
  7. Android中自定义带图标和清空内容按钮的EditText控件
  8. Android(安卓)代码修改按钮上的图片
  9. 重点核心☆☆☆☆☆按钮点击事件的四种类型

随机推荐

  1. Android(安卓)FlowLayout
  2. Android(安卓)studio 多线程网络文件下载
  3. Android之通信录中的联系人操作
  4. android判断网络是否能用
  5. Android(安卓)打开文件
  6. android 线程之创建一个子线程,并在UI线程
  7. android studio无法关联源码
  8. android 多点触摸绘画demo
  9. android 利用socket 发送Json数据demo
  10. Android(Java):jni源代码