alexjlockwood / ShapeShifter

SVG icon animation tool for Android, iOS, and the web
https://shapeshifter.design
Apache License 2.0
3.97k stars 201 forks source link

Fill alpha property is not available on export of animated vector drawable #215

Open SanthoshDhandapani opened 6 years ago

SanthoshDhandapani commented 6 years ago

Fill alpha property is not available in the xml when the animation is exported as animated vector drawable file

alexjlockwood commented 6 years ago

Sorry, could you clarify the problem with an example?

It would be especially helpful if you could attach the .shapeshifter file that exhibits the problem (go to "File" --> "Save" and attach the .shapeshifter file to this issue).

When I go to "File" --> "Demo" and select "Heartbreak" (a demo which has a couple fillAlpha animation blocks), I am able to export the demo to AVD and I see the fillAlpha object animators in the exported result, so I'm not sure what the issue you are having could be.

SanthoshDhandapani commented 6 years ago

Hi alex thanks for the quick response.

This is the issue i am mentioning about ss_fill_alpha_property_miss

Attached the .shapeshifter in the zip, extract the zip to get it lock_to_unlock_anim.zip

alexjlockwood commented 6 years ago

Oh, I see. Does this have any visual impact on the result? Because the default value for fillAlpha is 1, so even though it isn't explicitly listed, I think the value should still be 1? Or am I missing something?

SanthoshDhandapani commented 6 years ago

Yes alex, it impacts when i use it android. If i code there with android:fillAlpha="1" everything works as expected.

alexjlockwood commented 6 years ago

How does it affect the appearance visually? How are you using the AVD in your Android app?

SanthoshDhandapani commented 6 years ago

I tried applying the exported avd with this sample project https://github.com/ANPez/Animated-Vector-Drawables one more clue is the animation which i used here has fillAlpha animation.