Android 开发 shape绘制圆形
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://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>
对于这个还欠缺理解
https://www.jb51.net/article/114790.htm这个说的很多的效果,可以看看。