Android Question CustomView Animation

Cableguy

Expert
Licensed User
Longtime User
Hi Guys

I'm finalising a CustomView with designer support, and I'm struggling with a "simple" property.
When adding the view in the designer, we have an "Animation" property, but, going through the properties of the Base Panel, there isn't an "Animation" property, instead we have a set of properties that can be animated.
I tried replicating the behaviour in the "Code added" portion of my customview using SetLayoutAnimated but nothing different happens.
So, what is the "Animation" property I see in the designer and how to replicate it to a CustomView added by code( as opposed to a CustomView added in the designer where we can simply set the duration)?
 

Cableguy

Expert
Licensed User
Longtime User
OK, understood!
 
Upvote 0
Top