圓角漸變背景

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">

    <corners
        android:radius="@dimen/dp2"/>

    <gradient
        android:startColor="#3D98FC"
        android:endColor="#066EFE"
        android:angle="90"
        />
    
</shape>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章