温馨提示×

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

发布时间:2020-07-11 05:06:09 来源:网络 阅读:280 作者:671076656 栏目:移动开发


左上,左下,右上,右下

四个角分别设置弧度即可

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"






免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。