首页 > 代码库 > android 圆角编写(懒得去找,写给自己看的)

android 圆角编写(懒得去找,写给自己看的)

<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#00000000"/>
<stroke android:width="2dp" android:color="#FFB66F"
android:dashWidth="0dp" android:dashGap="3dp" />
<padding android:left="3dp" android:top="3dp"
android:right="3dp" android:bottom="3dp" />
<corners android:radius="8dp" />
</shape>

android 圆角编写(懒得去找,写给自己看的)