Lines Matching refs:mTabLayout
44 private TabLayout mTabLayout;
60 mTabLayout = (TabLayout) findViewById(R.id.tabs);
66 mTabLayout.setupWithViewPager(mViewPager);
77 if (mTabLayout.getTabCount() > 0) {
88 switch (mTabLayout.getTabMode()) {
103 mTabLayout.setTabMode(TabLayout.MODE_FIXED);
106 mTabLayout.setTabMode(TabLayout.MODE_SCROLLABLE);
113 switch (mTabLayout.getTabGravity()) {
128 mTabLayout.setTabGravity(TabLayout.GRAVITY_CENTER);
131 mTabLayout.setTabGravity(TabLayout.GRAVITY_FILL);