Gradients Colors In Android

[Solved] Gradients Colors In Android | Swift - Code Explorer | yomemimo.com
Question : gradients colors in android

Answered by : sameer

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="#3f5063" /> <corners android:bottomLeftRadius="30dp" android:bottomRightRadius="0dp" android:topLeftRadius="30dp" android:topRightRadius="0dp" /> <padding android:bottom="2dp" android:left="2dp" android:right="2dp" android:top="2dp" /> <gradient android:angle="45" android:centerColor="#015664" android:endColor="#636969" android:startColor="#2ea4e7" /> <stroke android:width="1dp" android:color="#000000" />
</shape>

Source : | Last Update : Tue, 01 Feb 22

Question : gradient color android xml

Answered by : mohamed-oussema-boukadida

<gradient android:type="linear" android:angle="0" android:startColor="#f6ee19" android:endColor="#115ede" />

Source : https://stackoverflow.com/questions/13929877/how-to-make-gradient-background-in-android | Last Update : Fri, 18 Aug 23

Answers related to gradients colors in android

Code Explorer Popular Question For Swift