wimpie3 Well-Known Member Licensed User Longtime User Feb 16, 2022 #1 I'm trying to change the height of an xCustomListView by doing this: B4X: CustomListView1.asview.SetLayoutAnimated(1000,0,0,0,50dip) However, I'm getting this error: B4X: java.lang.IllegalArgumentException: Cannot set 'scaleX' to Float.NaN What am I doing wrong?
I'm trying to change the height of an xCustomListView by doing this: B4X: CustomListView1.asview.SetLayoutAnimated(1000,0,0,0,50dip) However, I'm getting this error: B4X: java.lang.IllegalArgumentException: Cannot set 'scaleX' to Float.NaN What am I doing wrong?
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2022 #2 The zero size breaks the animation. Set it to 1dip instead. Upvote 0