android color gradient code example
Example: how to set gradient background in android
<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <gradient android:startColor="#ff2d9a59" android:endColor="#ff23729a" android:angle="90" /></shape>