Android 开发 shape绘制圆形的代码实例
程序员文章站
2022-05-17 23:35:08
android 开发 shape绘制圆形的代码实例
<...
android 开发 shape绘制圆形的代码实例
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="https://schemas.android.com/apk/res/android" android:shape = "rectangle" > <size android:height="40dp" android:width="80dp"/> <solid android:color = "#f74b4b" /> <corners android:bottomleftradius = "0dp" android:bottomrightradius = "0dp" android:topleftradius = "60dp" android:toprightradius = "60dp"/> </shape>
上一篇: 抖音如何升级粉丝等级?