how to make gradient in android 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>