Searched refs:tabLayout (Results 1 – 3 of 3) sorted by relevance
313 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in initializeDesktop() local314 tabLayout.addOnTabSelectedListener(new OnTabSelectedListener() { in initializeDesktop()319 mLastSelectedCategoryTabIndex = tabLayout.getSelectedTabPosition(); in initializeDesktop()618 TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in onSaveInstanceState() local623 if (tabLayout != null) { in onSaveInstanceState()624 … savedInstanceState.putInt(KEY_SELECTED_CATEGORY_TAB, tabLayout.getSelectedTabPosition()); in onSaveInstanceState()650 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in populateCategoryTabs() local651 tabLayout.removeAllTabs(); in populateCategoryTabs()660 Tab tab = tabLayout.newTab(); in populateCategoryTabs()663 tabLayout.addTab(tab, false /* setSelected */); in populateCategoryTabs()[all …]
139 TabLayout tabLayout = mTabLayout; in maybeHideTabs() local141 tabLayout.setVisibility(View.GONE); in maybeHideTabs()143 tabLayout.setVisibility(View.VISIBLE); in maybeHideTabs()
188 private TabAdapter(Context context, @LayoutRes int res, TabLayout tabLayout) { in TabAdapter() argument192 mTabLayout = tabLayout; in TabAdapter()