您的位置:首页 > 其它

圆角边框,底边,背景做法

2016-05-26 17:00 253 查看
左上,左下,右上,右下
四个角分别设置弧度即可
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"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  圆角边框