The only solution I found still replaces the view, but does it through an ActivityGroup, so the code will look normal and will be split into actions. Works great, but there are still needs for hacks such as a button click and more.
I reset this idea, however, since I later wanted to create a more flexible and stylish tab bar, I wrote my own. Works like a charm and takes about 2 business days to encode.
source share