74、shape 画圆 加 边框

 1 <?xml version="1.0" encoding="utf-8"?>
 2 <!--<shape xmlns:andro
 3     android:shape="ring" android:useLevel="false">
 4 
 5     <solid android:color="@color/code44" />
 6     <stroke android:width="3dp" android:color="@color/code43" />
 7 
 8 </shape>-->
 9 <shape
10     xmlns:android="http://schemas.android.com/apk/res/android"
11     android:shape="oval"
12     android:useLevel="false" >
13 
14     <solid android:color="@color/code44" />
15     <!--<padding
16         android:left="2dp"
17         android:top="1dp"
18         android:right="2dp"
19         android:bottom="1dp" />
20     <solid android:color="@color/code44" />-->
21     <stroke
22         android:width="1dp"
23         android:color="@color/white" />
24 
25     <size android:width="35dp"
26         android:height="35dp" />
27 </shape>

 

相关文章:

  • 2022-12-23
  • 2021-11-09
  • 2021-09-25
  • 2022-12-23
  • 2021-05-20
  • 2021-07-27
  • 2022-12-23
  • 2021-10-15
猜你喜欢
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2021-12-04
  • 2021-09-05
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案