IT. Expert System.

Android Reference

PagerTabStrip


android.support.v4.view

Class PagerTabStrip

    • Method Detail

      • setTabIndicatorColor

        public void setTabIndicatorColor(int color)
        Set the color of the tab indicator bar.
        Parameters:
        color - Color to set as an 0xRRGGBB value. The high byte (alpha) is ignored.
      • setTabIndicatorColorResource

        public void setTabIndicatorColorResource(int resId)
        Set the color of the tab indicator bar from a color resource.
        Parameters:
        resId - Resource ID of a color resource to load
      • getTabIndicatorColor

        public int getTabIndicatorColor()
        Returns:
        The current tab indicator color as an 0xRRGGBB value.
      • setPadding

        public void setPadding(int left,
                      int top,
                      int right,
                      int bottom)
        Description copied from class: View
        Sets the padding. The view may add on the space required to display the scrollbars, depending on the style and visibility of the scrollbars. So the values returned from View.getPaddingLeft(), View.getPaddingTop(), View.getPaddingRight() and View.getPaddingBottom() may be different from the values set in this call.
        Overrides:
        setPadding in class View
        Parameters:
        left - the left padding in pixels
        top - the top padding in pixels
        right - the right padding in pixels
        bottom - the bottom padding in pixels
      • setTextSpacing

        public void setTextSpacing(int textSpacing)
        Description copied from class: PagerTitleStrip
        Set the required spacing between title segments.
        Overrides:
        setTextSpacing in class PagerTitleStrip
        Parameters:
        textSpacing - Spacing between each title displayed in pixels
      • setBackgroundColor

        public void setBackgroundColor(int color)
        Description copied from class: View
        Sets the background color for this view.
        Overrides:
        setBackgroundColor in class View
        Parameters:
        color - the color of the background
      • setBackgroundResource

        public void setBackgroundResource(int resId)
        Description copied from class: View
        Set the background to a given resource. The resource should refer to a Drawable object or 0 to remove the background.
        Overrides:
        setBackgroundResource in class View
        Parameters:
        resId - The identifier of the resource.
      • setDrawFullUnderline

        public void setDrawFullUnderline(boolean drawFull)
        Set whether this tab strip should draw a full-width underline in the current tab indicator color.
        Parameters:
        drawFull - true to draw a full-width underline, false otherwise
      • getDrawFullUnderline

        public boolean getDrawFullUnderline()
        Return whether or not this tab strip will draw a full-width underline. This defaults to true if no background is set.
        Returns:
        true if this tab strip will draw a full-width underline in the current tab indicator color.
      • onTouchEvent

        public boolean onTouchEvent(MotionEvent ev)
        Description copied from class: View
        Implement this method to handle touch screen motion events.
        Overrides:
        onTouchEvent in class View
        Parameters:
        ev - The motion event.
        Returns:
        True if the event was handled, false otherwise.
      • onDraw

        protected void onDraw(Canvas canvas)
        Description copied from class: View
        Implement this to do your drawing.
        Overrides:
        onDraw in class View
        Parameters:
        canvas - the canvas on which the background will be drawn


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 629 / 159198199. Delta: 0.07718 с