圆角边框,底边,背景做法
2016-05-26 17:00
253 查看
左上,左下,右上,右下
四个角分别设置弧度即可
drawable/dialog_qrcode_button.xml
四个角分别设置弧度即可
drawable/dialog_qrcode_button.xml
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" > <solid android:color="@color/main_color" /> <corners android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" android:topLeftRadius="5dp" android:topRightRadius="5dp" /> </shape>android:background="@drawable/dialog_qrcode_button"
相关文章推荐
- 自定义标签实现圆角边框
- CSS3第二日--圆角边框
- WPF 使用Border创建圆角边框
- 【Android】Android布局中实现圆角边框
- UITextView添加圆角边框
- Android 编辑框增加圆角边框
- 写用户文档的三把利器 推荐
- MFC 小技巧(更新中)
- Android中自定义drawable资源实现布局的圆角边框效果
- android布局的圆角边框
- 小程序中圆角边框的设置
- CSS 边框(20160821-0021)
- 圆角边框
- flutter Container容器实现圆角边框
- 深入理解Java中的接口
- 每天进步一点点--java连接mysql
- error LNK2026: 模块对于 SAFESEH 映像是不安全的
- Ubuntu / Win7 安装db2 v10.5
- Codeforces Round #354 (Div. 2) B. Pyramid of Glasses
- 简单的方法 实现下拉框多选