I was looking at the twitter app on my phone.
You can see that when a user scrolls up, the tabLayout actually just pins itself onto the bottom of the toolba
for those first 3 questions look here (link seems dead) so this wayback machine link. it points to a github demo repo at https://github.com/slidenerd/Android-Design-Support-Library-Demo
As for the 4th you need to create fragments for each tab and load them when they are selected for a simple approach, or you can create one fragment and communicate with it to show specific content when a tab is selected..
EDIT couldn't find an updated link so here are the answers
ex -