设置drawable下的xml文件
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<gradient
android:type="linear"
android:startColor="#0054B3EA"
android:endColor="#98CBFF"
android:angle="100"/>
</shape>
下一步直接在布局使用最为背景即可