The application uses Navigation Drawler , from which fragments are called. The structure of one of them is provided in miniature:
How to correctly write the logic so that inside this fragment, when switching tabs from below (each of them is linearlayout with OnClickListener ), only the contents of window 1 / window 2 change. To keep the lower part of the fragment itself, the tabs are not updated.
