<BUG>setSupportActionBar(mToolbar);getSupportActionBar().setDisplayHomeAsUpEnabled(true);Spinner mSpinner = (Spinner) findViewById(R.id.spinner);</BUG><CONTEXT>protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.activity_with_tabs);mViewPager = (ViewPager) findViewById(R.id.pager);mToolbar = (Toolbar) findViewById(R.id.toolbar);<extra_id_0>mSpinner.setVisibility(View.GONE);mTabLayout = (TabLayout) findViewById(R.id.tab_layout);</CONTEXT>
if(getSupportActionBar() != null){getSupportActionBar().setDisplayShowHomeEnabled(true);}Spinner mSpinner = (Spinner) findViewById(R.id.spinner);