How to organize the logic of the application with custom tabs?
You must make the application, sections of which can be switched using tabs, which will be in the style of iOS I used TabHost and TabWidgets, and used your LinearLayout (it was easier to arrange the customization of each tab as they are created fully dynamically, loading the configuration from the running). As display content, I used a WebView for each tab (section) created a fragment, inside of which was this WebView. I want to ask more experienced developers: would it not be better to confine myself to one Activity and a WebView in it that would display content. Just had the need to recreate the header and menu that is also fully custom and well-formed in the method onCreateView of the fragment.