private void adaptTabLayoutVisibility ( ) { if ( tabLayout != null ) { tabLayout . setVisibility ( tabLayoutShown ? View . VISIBLE : View . GONE ) ; } }
Adapts the visibility of the tab layout which indicates the currently shown fragment .