Custom dashboard for Android application with animation

I need to create a custom tab for my android application like image (tab for the same application on iphone)

enter image description here

and when I switch from tab to another, she does the animation.

How can i do this?

+5
source share
1 answer

You can register the callback using the TabHost.onSetTabChangedListener () method and run the animation from there. However, you should also remember that TabHost is deprecated on Android, and you are trying to port the very “iOS-ish” behavior to Android, which may not be very natural for your users.

+1
source

All Articles