While working on my Android Studio project, I designed a UI in Figma that included a rectangle with multiple gradients and a solid color. Now I'm wondering how to recreate this exact rectangle in Android Studio. Here is the CSS code for reference:
background: linear-gradient(180deg, #FCEFFF 0%, rgba(252, 239, 255, 0) 100%), linear-gradient(180deg, #FFFFFF 0%, rgba(252, 239, 255, 0) 70.31%), linear-gradient(180deg, #FFFFFF 0%, rgba(252, 239, 255, 0) 63.02%), #D3AAF4;
I've tried using "solid" and "gradient" tags in XML, but it hasn't produced the desired outcome.