Actually, I am Developing An Android App. The Issue Is About Exporting Icon With Gradients In VectorDrawables. I Draw My Icons Using Adobe Illustrator And I export them To Android Studio' Asset Studio.
As Per Material Design Guidelines, The Shadow Of An Object Should Be Radial Gradual Gradient Where 1st Slider Is At 32% Location And Opacity Is 15%. 2nd Slider Is at 62% Location with 2% Opacity. And The Last Slider Is At 100 % With Completely Transparent Color With 45° Angle
I have created The Icon In Adobe Illustrator and looks perfectly and follows everything as per material design. But When I export them to Android Studio, The Image Is Heavily Altered As Vector Drawables Doesn't Support Gradients Fully Yet. Gradients in VectorDrawables is supported from Android 7.0 + devices. Another Issue Is That Google Says That an object with elevation should show long shadow with 45° (Gradient-based). But on the other side, They do not support gradients fully. How can I extend gradient app icon to devices which are below 7.0.
P.s. I export the Illustrator File To support Adaptive Icon. Please, someone, guide me to achieve that gradient shadow In VectorDrawables so that they will look similar to legacy icons