Create tab view as done in xml

Saving this because I am going to try the java version of this implementation of tab swipes in android instead of xml