Class ShadowTabHost.ShadowTabSpec

    • Constructor Detail

      • ShadowTabSpec

        public ShadowTabSpec()
    • Method Detail

      • setTag

        public void setTag​(String tag)
        Sets the tag on the TabSpec.
        Parameters:
        tag - The tag.
      • getTag

        @Implementation
        protected String getTag()
      • getIndicatorAsView

        public View getIndicatorAsView()
        Returns:
        the view object set in a call to TabSpec#setIndicator(View)
      • getIndicatorLabel

        public String getIndicatorLabel()
      • getIndicatorIcon

        public Drawable getIndicatorIcon()
      • getText

        public String getText()
        Same as GetIndicatorLabel()
        Returns:
        Tab text.
      • getContentAsIntent

        public Intent getContentAsIntent()
        Returns:
        the intent object set in a call to TabSpec#setContent(Intent)
      • setContent

        @Implementation
        protected TabHost.TabSpec setContent​(int viewId)
      • getContentViewId

        public int getContentViewId()
      • getContentView

        public View getContentView()