O Oswald Member Licensed User Longtime User Sep 30, 2015 #1 Whenever I load a layout by using Activity.Loadlayout, the layout appears on the screen with an animation. Layout is coming to screen from the left top corner. I there any way to change or cancel this animation? thnx in advance Bravox
Whenever I load a layout by using Activity.Loadlayout, the layout appears on the screen with an animation. Layout is coming to screen from the left top corner. I there any way to change or cancel this animation? thnx in advance Bravox
ArminKH Well-Known Member Sep 30, 2015 #2 bravox said: Whenever I load a layout by using Activity.Loadlayout, the layout appears on the screen with an animation. Layout is coming to screen from the left top corner. I there any way to change or cancel this animation? thnx in advance Bravox Click to expand... change animation duration to 0 from designer Upvote 0
bravox said: Whenever I load a layout by using Activity.Loadlayout, the layout appears on the screen with an animation. Layout is coming to screen from the left top corner. I there any way to change or cancel this animation? thnx in advance Bravox Click to expand... change animation duration to 0 from designer
JonPM Well-Known Member Licensed User Longtime User Oct 1, 2015 #3 Seems like default should be 0. Is there a reason default value is 400? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2015 #4 By default there is a short animation. Upvote 0
O Oswald Member Licensed User Longtime User Oct 4, 2015 #5 Thanks a lot to all of you. Can I change the animation effect. like, scrolling the screen from right to left? Upvote 0
Thanks a lot to all of you. Can I change the animation effect. like, scrolling the screen from right to left?
Erel B4X founder Staff member Licensed User Longtime User Oct 5, 2015 #6 The animation is based on the views anchors. If you add a Panel which is docked to the right side then it will slide from right to left. Though it might be simpler to use Activity transitions instead: https://www.b4x.com/android/forum/threads/15065/#content Upvote 0
The animation is based on the views anchors. If you add a Panel which is docked to the right side then it will slide from right to left. Though it might be simpler to use Activity transitions instead: https://www.b4x.com/android/forum/threads/15065/#content