B4X FEED Panel SetLayoutAnimated spring effect

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Panel SetLayoutAnimated spring effect است. این موضوع تا کنون 42 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Panel SetLayoutAnimated spring effect
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
42
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
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?

 

عقب
بالا