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"

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top