Question

I am dynamically creating a StackView object in my Android project. How can I accomplish the following equivalent properties dynamically through code?

android:animateLayoutChanges="true"
android:loopViews="true"

OTHER TIPS

For animateLayoutChanges you can refer this.

And for the loopViews i am not getting any method but you can refer this.

Hope you got the Point. You can easilt search on developer site of Android for any other methods/function and its properties.

There is no way to change loopViews, but you can try to pass it through constructor using styles.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top