https://kotlinlang.org logo
m

Marko Novakovic

06/08/2021, 8:43 AM
am trying to add
AnimatedVectorDrawable
to am icon but am getting
android.content.res.Resources$NotFoundException: Resource ID #0x0
. I have drawable in resources and am passing correct id to the
animatedVectorResource
. any help? if that’s relevant in my drawable resource file am using
animated-selector
that animates between two `item`s with `transition`s defined in that selector. Update:
animated-selector
animating two
animated-vector
s. one vector from plus to minus other from minus to plus icon. BUT when I pass just minus to plus
animated-vector
to
animatedVectorResource
animation works and it knows how to reverse it
d

Doris Liu

06/08/2021, 5:47 PM
Support for
animated-selector
isn't implemented yet. Please feel free to file a feature request. 🙂
m

Marko Novakovic

06/08/2021, 6:00 PM
thank you very much
👍 1
I’ve never done that before. can you tell me how can I do that?
d

Doris Liu

06/08/2021, 6:04 PM
The link for filing bugs/feature requests is in the channel description: https://issuetracker.google.com/issues?q=componentid:612128 🙂
m

Marko Novakovic

06/08/2021, 6:05 PM
thank you
8 Views