I'm using the B4XView SetLayoutAnimated to resize the height of a panel, which contains other views, with duration <> 0 looking for a curtain effect.
What really happens is that the panel dimensions are correctly increased/decreased in a linear fashion, but the contained views (some B4XFloatTextField) shows a "spring" effect, first compressing and then expanding again while the panel is resized.
Note that:
size/position of the views are not changed: they are the same before and after the SetLayoutAnimated call
the AnimationDuration of the parent activity is set to 0, so there is no animation when the Activity is first displayed
How do I disable the spring effect?
What really happens is that the panel dimensions are correctly increased/decreased in a linear fashion, but the contained views (some B4XFloatTextField) shows a "spring" effect, first compressing and then expanding again while the panel is resized.
Note that:
size/position of the views are not changed: they are the same before and after the SetLayoutAnimated call
the AnimationDuration of the parent activity is set to 0, so there is no animation when the Activity is first displayed
How do I disable the spring effect?