I have a menu that is always visible, and the same for all activities. Is it possible to avoid that the menu slides out along with the rest of the layout when launching a new activity? You can compare it to the way the tabwidget works, where the tabs remain in place while the rest of the layout switches
Share
A couple of ways come to mind.
If you want to keep using activities, you could fake it by disabling their sliding animations. You would then have to manually do animations for the parts of the UI you want to slide in/out. I’m not sure how smooth this might look when going from one activity to the other.
Use Fragments and animate in/out the parts of the UI that are changing.
I would go the fragment route.