5. Create a new xml file under res/layout and name it asheader_gradient.xml and type the following code
<? xml version = "1.0" encoding = "utf-8" ?> < shape xmlns:android = "http://schemas.android.com/apk/res/android" > < gradient android:startColor = "#24b2eb" android:centerColor = "#4ccbff" android:endColor = "#24b2eb" android:angle = "270" /> < corners android:radius = "5dp" /> </ shape > |
No comments:
Post a Comment