I want to select only one target on specific conditions for example. How it is possible? Thanks in advance.
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/ic_worldreloaded">
<target
android:name="alles"
android:animation="@animator/alles" />
<target
android:name="alles2"
android:animation="@animator/alles2" />
</animated-vector>
It is impossible only xml. You can make a
two animated vector resource files
belowalles.xml
alles2.xml
finally, on the code behind