com.actionbarsherlock.internal.widget.ScrollingTabContainerView Java Examples
The following examples show how to use
com.actionbarsherlock.internal.widget.ScrollingTabContainerView.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ActionBarImpl.java From CSipSimple with GNU General Public License v3.0 | 6 votes |
private void ensureTabsExist() { if (mTabScrollView != null) { return; } ScrollingTabContainerView tabScroller = new ScrollingTabContainerView(mContext); if (mHasEmbeddedTabs) { tabScroller.setVisibility(View.VISIBLE); mActionView.setEmbeddedTabView(tabScroller); } else { tabScroller.setVisibility(getNavigationMode() == NAVIGATION_MODE_TABS ? View.VISIBLE : View.GONE); mContainerView.setTabContainer(tabScroller); } mTabScrollView = tabScroller; }
Example #2
Source File: ActionBarImpl.java From android-apps with MIT License | 6 votes |
private void ensureTabsExist() { if (mTabScrollView != null) { return; } ScrollingTabContainerView tabScroller = new ScrollingTabContainerView(mContext); if (mHasEmbeddedTabs) { tabScroller.setVisibility(View.VISIBLE); mActionView.setEmbeddedTabView(tabScroller); } else { tabScroller.setVisibility(getNavigationMode() == NAVIGATION_MODE_TABS ? View.VISIBLE : View.GONE); mContainerView.setTabContainer(tabScroller); } mTabScrollView = tabScroller; }
Example #3
Source File: ActionBarImpl.java From zen4android with MIT License | 6 votes |
private void ensureTabsExist() { if (mTabScrollView != null) { return; } ScrollingTabContainerView tabScroller = new ScrollingTabContainerView(mContext); if (mHasEmbeddedTabs) { tabScroller.setVisibility(View.VISIBLE); mActionView.setEmbeddedTabView(tabScroller); } else { tabScroller.setVisibility(getNavigationMode() == NAVIGATION_MODE_TABS ? View.VISIBLE : View.GONE); mContainerView.setTabContainer(tabScroller); } mTabScrollView = tabScroller; }
Example #4
Source File: ActionBarImpl.java From zhangshangwuda with Apache License 2.0 | 6 votes |
private void ensureTabsExist() { if (mTabScrollView != null) { return; } ScrollingTabContainerView tabScroller = new ScrollingTabContainerView(mContext); if (mHasEmbeddedTabs) { tabScroller.setVisibility(View.VISIBLE); mActionView.setEmbeddedTabView(tabScroller); } else { tabScroller.setVisibility(getNavigationMode() == NAVIGATION_MODE_TABS ? View.VISIBLE : View.GONE); mContainerView.setTabContainer(tabScroller); } mTabScrollView = tabScroller; }
Example #5
Source File: ActionBarImpl.java From Libraries-for-Android-Developers with MIT License | 6 votes |
private void ensureTabsExist() { if (mTabScrollView != null) { return; } ScrollingTabContainerView tabScroller = new ScrollingTabContainerView(mContext); if (mHasEmbeddedTabs) { tabScroller.setVisibility(View.VISIBLE); mActionView.setEmbeddedTabView(tabScroller); } else { tabScroller.setVisibility(getNavigationMode() == NAVIGATION_MODE_TABS ? View.VISIBLE : View.GONE); mContainerView.setTabContainer(tabScroller); } mTabScrollView = tabScroller; }