1、xml
<? xml version = "1.0" encoding = "utf-8" ?> |
2 |
< shape xmlns:android = "http://schemas.android.com/apk/res/android" > |
3 |
< gradient |
4 |
android:startColor = "#FFF" |
5 |
android:endColor = "#000" |
6 |
android:angle = "45" /> |
7 |
</ shape > |