This commit is contained in:
PavelRatushny 2017-07-25 17:23:35 +03:00
parent 42c0766f6d
commit cbedf9c58a

View file

@ -76,6 +76,12 @@ public class TrackActivity extends TabActivity {
actionBar.setElevation(0); actionBar.setElevation(0);
} }
setContentView(R.layout.tab_content); setContentView(R.layout.tab_content);
}
@Override
protected void onStart() {
super.onStart();
stopped = false;
slidingTabLayout = (PagerSlidingTabStrip) findViewById(R.id.sliding_tabs); slidingTabLayout = (PagerSlidingTabStrip) findViewById(R.id.sliding_tabs);
if (slidingTabLayout != null) { if (slidingTabLayout != null) {