KMatle Expert Licensed User Longtime User Feb 11, 2017 #1 Moving / rotating a view is easy (there are some examples here). Additionally there is the animation lib to animate views: https://www.b4x.com/android/forum/threads/android-views-animation-tutorial.6967/#content What's the best practice to animate a view (smooth!) on your own? I'm interested in the technique/background to get it smooth as in the lib.
Moving / rotating a view is easy (there are some examples here). Additionally there is the animation lib to animate views: https://www.b4x.com/android/forum/threads/android-views-animation-tutorial.6967/#content What's the best practice to animate a view (smooth!) on your own? I'm interested in the technique/background to get it smooth as in the lib.
Erel B4X founder Staff member Licensed User Longtime User Feb 12, 2017 #2 In most cases the Animation library is not required. You can use the simpler methods such as: View.SetLayoutAnimated / SetColorAnimated / SetVisibleAnimated. They are based on native animation APIs. Upvote 0
In most cases the Animation library is not required. You can use the simpler methods such as: View.SetLayoutAnimated / SetColorAnimated / SetVisibleAnimated. They are based on native animation APIs.