在drawable文件夹下,新建文件,写入如下代码:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="480dp"/>
<solid android:color="@color/material_blue"/>
</shape>
在drawable文件夹下,新建文件,写入如下代码:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="480dp"/>
<solid android:color="@color/material_blue"/>
</shape>