Fix NPE
This commit is contained in:
parent
61fb8d12a1
commit
78f77b006d
1 changed files with 6 additions and 0 deletions
|
@ -76,6 +76,12 @@ public class TrackActivity extends TabActivity {
|
|||
actionBar.setElevation(0);
|
||||
}
|
||||
setContentView(R.layout.tab_content);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStart() {
|
||||
super.onStart();
|
||||
stopped = false;
|
||||
|
||||
slidingTabLayout = (PagerSlidingTabStrip) findViewById(R.id.sliding_tabs);
|
||||
if (slidingTabLayout != null) {
|
||||
|
|
Loading…
Reference in a new issue