Android ------------------ 带边框的圆角矩形

 

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
 
    <!-- 填充颜色 -->
    <solid android:color="#8d7eb9" />
 
    <!-- 圆角度数 -->
    <corners
        android:bottomLeftRadius="10dp"
        android:bottomRightRadius="10dp"
        android:topLeftRadius="10dp"
        android:topRightRadius="10dp" />
    <!-- 边框 -->
    <stroke
        android:width="2dp"
        android:color="#463281" />
 
</shape>

 

posted on 2018-11-27 17:26  zhang11111wei  阅读(172)  评论(0编辑  收藏  举报

导航