asales Expert Licensed User Longtime User Dec 12, 2014 #1 I am using B4A 4.0 and Android 4.4 and I want to know how I can animate the layouts of my sample: click in button in layout1 and show layout2 (in new activity) from right to left (and not from center). Thanks in advance Attachments layout_animated.zip 8.8 KB · Views: 160
I am using B4A 4.0 and Android 4.4 and I want to know how I can animate the layouts of my sample: click in button in layout1 and show layout2 (in new activity) from right to left (and not from center). Thanks in advance
AllyAndroid Member Licensed User Longtime User Dec 12, 2014 #2 Here is the tutorial: https://www.b4x.com/android/forum/threads/custom-transitions-between-activities.15065/#content Key thing to remember is to place SetAnimation("zoom_in_right", "zoom_out_left") after StartActivity(Activity2). This might be the old way of doing it. Not sure if it changed with the new version of B4A. Upvote 0
Here is the tutorial: https://www.b4x.com/android/forum/threads/custom-transitions-between-activities.15065/#content Key thing to remember is to place SetAnimation("zoom_in_right", "zoom_out_left") after StartActivity(Activity2). This might be the old way of doing it. Not sure if it changed with the new version of B4A.