I was designing UI in Figma for my Android Studio project. I created rectangle which had several gradients and solid color. How can I create the exact same rectangle in Android Studio? Below is the code in CSS:
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 know I should use "solid" and "gradient" tags in XML but it doesn't work as I expect.