# TabLayout

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:design:27.1.0  
Summary:[Nested Classes](https://developer.android.com/reference/android/support/design/widget/TabLayout#nestedclasses)\|[XML Attrs](https://developer.android.com/reference/android/support/design/widget/TabLayout#lattrs)\|[Constants](https://developer.android.com/reference/android/support/design/widget/TabLayout#constants)\|[Inherited Constants](https://developer.android.com/reference/android/support/design/widget/TabLayout#inhconstants)\|[Inherited Fields](https://developer.android.com/reference/android/support/design/widget/TabLayout#inhfields)\|[Ctors](https://developer.android.com/reference/android/support/design/widget/TabLayout#pubctors)\|[Methods](https://developer.android.com/reference/android/support/design/widget/TabLayout#pubmethods)\|[Protected Methods](https://developer.android.com/reference/android/support/design/widget/TabLayout#promethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/design/widget/TabLayout#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/design/widget/TabLayout#)  

# TabLayout

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public


class
TabLayout
`  
`


``


``


``


``

extends `[HorizontalScrollView](https://developer.android.com/reference/android/widget/HorizontalScrollView.html)`


``


`

|---|---|---|---|---|-----------------------------------------|
| java.lang.Object                                       ||||||
| ↳ | [android.view.View](https://developer.android.com/reference/android/view/View.html) |||||
|   | ↳ | [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) ||||
|   |   | ↳ | [android.widget.FrameLayout](https://developer.android.com/reference/android/widget/FrameLayout.html) |||
|   |   |   | ↳ | [android.widget.HorizontalScrollView](https://developer.android.com/reference/android/widget/HorizontalScrollView.html) ||
|   |   |   |   | ↳ | android.support.design.widget.TabLayout |

<br />

*** ** * ** ***

TabLayout provides a horizontal layout to display tabs.

Population of the tabs to display is done through[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)instances. You create tabs via[newTab()](https://developer.android.com/reference/android/support/design/widget/TabLayout#newTab()). From there you can change the tab's label or icon via[setText(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab#setText(int))and[setIcon(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab#setIcon(int))respectively. To display the tab, you need to add it to the layout via one of the[addTab(Tab)](https://developer.android.com/reference/android/support/design/widget/TabLayout#addTab(android.support.design.widget.TabLayout.Tab))methods. For example:  

```
 TabLayout tabLayout = ...;
 tabLayout.addTab(tabLayout.newTab().setText("Tab 1"));
 tabLayout.addTab(tabLayout.newTab().setText("Tab 2"));
 tabLayout.addTab(tabLayout.newTab().setText("Tab 3"));
 
```
You should set a listener via[setOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener))to be notified when any tab's selection state has been changed.

You can also add items to TabLayout in your layout through the use of[TabItem](https://developer.android.com/reference/android/support/design/widget/TabItem). An example usage is like so:  

```
 <android.support.design.widget.TabLayout
         android:layout_height="wrap_content"
         android:layout_width="match_parent">

     <android.support.design.widget.TabItem
             android:text="@string/tab_text"/>

     <android.support.design.widget.TabItem
             android:icon="@drawable/ic_android"/>

 </android.support.design.widget.TabLayout>
 
```

### ViewPager integration

If you're using a[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager)together with this layout, you can call[setupWithViewPager(ViewPager)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setupWithViewPager(android.support.v4.view.ViewPager))to link the two together. This layout will be automatically populated from the[PagerAdapter](https://developer.android.com/reference/android/support/v4/view/PagerAdapter)'s page titles.

This view also supports being used as part of a ViewPager's decor, and can be added directly to the ViewPager in a layout resource file like so:  

```
 <android.support.v4.view.ViewPager
     android:layout_width="match_parent"
     android:layout_height="match_parent">

     <android.support.design.widget.TabLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_gravity="top" />

 </android.support.v4.view.ViewPager>
 
```

<br />

**See also:**

- [Tabs](http://www.google.com/design/spec/components/tabs.html)

## Summary

|                                                                                                                                                                                                                                               ### Nested classes                                                                                                                                                                                                                                               ||
|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` interface` | [TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener) Callback interface invoked when a tab's selection state changes.                                                                                                                                                                                                                                                                                        |
| ` class`     | [TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab) A tab in this layout.                                                                                                                                                                                                                                                                                                                                                                       |
| ` class`     | [TabLayout.TabLayoutOnPageChangeListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.TabLayoutOnPageChangeListener) A[ViewPager.OnPageChangeListener](https://developer.android.com/reference/android/support/v4/view/ViewPager.OnPageChangeListener)class which contains the necessary calls back to the provided[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)so that the tab position is kept in sync.     |
| ` class`     | [TabLayout.ViewPagerOnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.ViewPagerOnTabSelectedListener) A[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)class which contains the necessary calls back to the provided[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager)so that the tab position is kept in sync. |

|                                                                     ### XML attributes                                                                     ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [`TabLayout_tabBackground`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabBackground)               |   |
| [`TabLayout_tabContentStart`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabContentStart)           |   |
| [`TabLayout_tabGravity`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabGravity)                     |   |
| [`TabLayout_tabIndicatorColor`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabIndicatorColor)       |   |
| [`TabLayout_tabIndicatorHeight`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabIndicatorHeight)     |   |
| [`TabLayout_tabMaxWidth`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabMaxWidth)                   |   |
| [`TabLayout_tabMinWidth`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabMinWidth)                   |   |
| [`TabLayout_tabMode`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabMode)                           |   |
| [`TabLayout_tabPadding`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabPadding)                     |   |
| [`TabLayout_tabPaddingBottom`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabPaddingBottom)         |   |
| [`TabLayout_tabPaddingEnd`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabPaddingEnd)               |   |
| [`TabLayout_tabPaddingStart`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabPaddingStart)           |   |
| [`TabLayout_tabPaddingTop`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabPaddingTop)               |   |
| [`TabLayout_tabSelectedTextColor`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabSelectedTextColor) |   |
| [`TabLayout_tabTextAppearance`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabTextAppearance)       |   |
| [`TabLayout_tabTextColor`](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabTextColor)                 |   |

|                                                                                                                               ### Constants                                                                                                                                ||
|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [GRAVITY_CENTER](https://developer.android.com/reference/android/support/design/widget/TabLayout#GRAVITY_CENTER) Gravity used to lay out the tabs in the center of the[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout). |
| `int` | [GRAVITY_FILL](https://developer.android.com/reference/android/support/design/widget/TabLayout#GRAVITY_FILL) Gravity used to fill the[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)as much as possible.               |
| `int` | [MODE_FIXED](https://developer.android.com/reference/android/support/design/widget/TabLayout#MODE_FIXED) Fixed tabs display all tabs concurrently and are best used with content that benefits from quick pivots between tabs.                                      |
| `int` | [MODE_SCROLLABLE](https://developer.android.com/reference/android/support/design/widget/TabLayout#MODE_SCROLLABLE) Scrollable tabs display a subset of tabs at any given moment, and can contain longer tab labels and a larger number of tabs.                     |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` android.view.ViewGroup ` |-------|-------------------------------------| | `int` | `CLIP_TO_PADDING_MASK` <br />       | | `int` | `FOCUS_AFTER_DESCENDANTS` <br />    | | `int` | `FOCUS_BEFORE_DESCENDANTS` <br />   | | `int` | `FOCUS_BLOCK_DESCENDANTS` <br />    | | `int` | `LAYOUT_MODE_CLIP_BOUNDS` <br />    | | `int` | `LAYOUT_MODE_OPTICAL_BOUNDS` <br /> | | `int` | `PERSISTENT_ALL_CACHES` <br />      | | `int` | `PERSISTENT_ANIMATION_CACHE` <br /> | | `int` | `PERSISTENT_NO_CACHE` <br />        | | `int` | `PERSISTENT_SCROLLING_CACHE` <br /> |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` android.view.View ` |----------|----------------------------------------------------------| | `int`    | `ACCESSIBILITY_LIVE_REGION_ASSERTIVE` <br />             | | `int`    | `ACCESSIBILITY_LIVE_REGION_NONE` <br />                  | | `int`    | `ACCESSIBILITY_LIVE_REGION_POLITE` <br />                | | `int`    | `AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS` <br />       | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE` <br />       | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY` <br />        | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH` <br />      | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR` <br />       | | `String` | `AUTOFILL_HINT_CREDIT_CARD_NUMBER` <br />                | | `String` | `AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE` <br />         | | `String` | `AUTOFILL_HINT_EMAIL_ADDRESS` <br />                     | | `String` | `AUTOFILL_HINT_NAME` <br />                              | | `String` | `AUTOFILL_HINT_PASSWORD` <br />                          | | `String` | `AUTOFILL_HINT_PHONE` <br />                             | | `String` | `AUTOFILL_HINT_POSTAL_ADDRESS` <br />                    | | `String` | `AUTOFILL_HINT_POSTAL_CODE` <br />                       | | `String` | `AUTOFILL_HINT_USERNAME` <br />                          | | `int`    | `AUTOFILL_TYPE_DATE` <br />                              | | `int`    | `AUTOFILL_TYPE_LIST` <br />                              | | `int`    | `AUTOFILL_TYPE_NONE` <br />                              | | `int`    | `AUTOFILL_TYPE_TEXT` <br />                              | | `int`    | `AUTOFILL_TYPE_TOGGLE` <br />                            | | `int`    | `DRAG_FLAG_GLOBAL` <br />                                | | `int`    | `DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION` <br />     | | `int`    | `DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION` <br />          | | `int`    | `DRAG_FLAG_GLOBAL_URI_READ` <br />                       | | `int`    | `DRAG_FLAG_GLOBAL_URI_WRITE` <br />                      | | `int`    | `DRAG_FLAG_OPAQUE` <br />                                | | `int`    | `DRAWING_CACHE_QUALITY_AUTO` <br />                      | | `int`    | `DRAWING_CACHE_QUALITY_HIGH` <br />                      | | `int`    | `DRAWING_CACHE_QUALITY_LOW` <br />                       | | `int`    | `FIND_VIEWS_WITH_CONTENT_DESCRIPTION` <br />             | | `int`    | `FIND_VIEWS_WITH_TEXT` <br />                            | | `int`    | `FOCUSABLE` <br />                                       | | `int`    | `FOCUSABLES_ALL` <br />                                  | | `int`    | `FOCUSABLES_TOUCH_MODE` <br />                           | | `int`    | `FOCUSABLE_AUTO` <br />                                  | | `int`    | `FOCUS_BACKWARD` <br />                                  | | `int`    | `FOCUS_DOWN` <br />                                      | | `int`    | `FOCUS_FORWARD` <br />                                   | | `int`    | `FOCUS_LEFT` <br />                                      | | `int`    | `FOCUS_RIGHT` <br />                                     | | `int`    | `FOCUS_UP` <br />                                        | | `int`    | `GONE` <br />                                            | | `int`    | `HAPTIC_FEEDBACK_ENABLED` <br />                         | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_AUTO` <br />                | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_NO` <br />                  | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS` <br /> | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_YES` <br />                 | | `int`    | `IMPORTANT_FOR_AUTOFILL_AUTO` <br />                     | | `int`    | `IMPORTANT_FOR_AUTOFILL_NO` <br />                       | | `int`    | `IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS` <br />   | | `int`    | `IMPORTANT_FOR_AUTOFILL_YES` <br />                      | | `int`    | `IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS` <br />  | | `int`    | `INVISIBLE` <br />                                       | | `int`    | `KEEP_SCREEN_ON` <br />                                  | | `int`    | `LAYER_TYPE_HARDWARE` <br />                             | | `int`    | `LAYER_TYPE_NONE` <br />                                 | | `int`    | `LAYER_TYPE_SOFTWARE` <br />                             | | `int`    | `LAYOUT_DIRECTION_INHERIT` <br />                        | | `int`    | `LAYOUT_DIRECTION_LOCALE` <br />                         | | `int`    | `LAYOUT_DIRECTION_LTR` <br />                            | | `int`    | `LAYOUT_DIRECTION_RTL` <br />                            | | `int`    | `MEASURED_HEIGHT_STATE_SHIFT` <br />                     | | `int`    | `MEASURED_SIZE_MASK` <br />                              | | `int`    | `MEASURED_STATE_MASK` <br />                             | | `int`    | `MEASURED_STATE_TOO_SMALL` <br />                        | | `int`    | `NOT_FOCUSABLE` <br />                                   | | `int`    | `NO_ID` <br />                                           | | `int`    | `OVER_SCROLL_ALWAYS` <br />                              | | `int`    | `OVER_SCROLL_IF_CONTENT_SCROLLS` <br />                  | | `int`    | `OVER_SCROLL_NEVER` <br />                               | | `int`    | `SCREEN_STATE_OFF` <br />                                | | `int`    | `SCREEN_STATE_ON` <br />                                 | | `int`    | `SCROLLBARS_INSIDE_INSET` <br />                         | | `int`    | `SCROLLBARS_INSIDE_OVERLAY` <br />                       | | `int`    | `SCROLLBARS_OUTSIDE_INSET` <br />                        | | `int`    | `SCROLLBARS_OUTSIDE_OVERLAY` <br />                      | | `int`    | `SCROLLBAR_POSITION_DEFAULT` <br />                      | | `int`    | `SCROLLBAR_POSITION_LEFT` <br />                         | | `int`    | `SCROLLBAR_POSITION_RIGHT` <br />                        | | `int`    | `SCROLL_AXIS_HORIZONTAL` <br />                          | | `int`    | `SCROLL_AXIS_NONE` <br />                                | | `int`    | `SCROLL_AXIS_VERTICAL` <br />                            | | `int`    | `SCROLL_INDICATOR_BOTTOM` <br />                         | | `int`    | `SCROLL_INDICATOR_END` <br />                            | | `int`    | `SCROLL_INDICATOR_LEFT` <br />                           | | `int`    | `SCROLL_INDICATOR_RIGHT` <br />                          | | `int`    | `SCROLL_INDICATOR_START` <br />                          | | `int`    | `SCROLL_INDICATOR_TOP` <br />                            | | `int`    | `SOUND_EFFECTS_ENABLED` <br />                           | | `int`    | `STATUS_BAR_HIDDEN` <br />                               | | `int`    | `STATUS_BAR_VISIBLE` <br />                              | | `int`    | `SYSTEM_UI_FLAG_FULLSCREEN` <br />                       | | `int`    | `SYSTEM_UI_FLAG_HIDE_NAVIGATION` <br />                  | | `int`    | `SYSTEM_UI_FLAG_IMMERSIVE` <br />                        | | `int`    | `SYSTEM_UI_FLAG_IMMERSIVE_STICKY` <br />                 | | `int`    | `SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN` <br />                | | `int`    | `SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION` <br />           | | `int`    | `SYSTEM_UI_FLAG_LAYOUT_STABLE` <br />                    | | `int`    | `SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR` <br />             | | `int`    | `SYSTEM_UI_FLAG_LIGHT_STATUS_BAR` <br />                 | | `int`    | `SYSTEM_UI_FLAG_LOW_PROFILE` <br />                      | | `int`    | `SYSTEM_UI_FLAG_VISIBLE` <br />                          | | `int`    | `SYSTEM_UI_LAYOUT_FLAGS` <br />                          | | `int`    | `TEXT_ALIGNMENT_CENTER` <br />                           | | `int`    | `TEXT_ALIGNMENT_GRAVITY` <br />                          | | `int`    | `TEXT_ALIGNMENT_INHERIT` <br />                          | | `int`    | `TEXT_ALIGNMENT_TEXT_END` <br />                         | | `int`    | `TEXT_ALIGNMENT_TEXT_START` <br />                       | | `int`    | `TEXT_ALIGNMENT_VIEW_END` <br />                         | | `int`    | `TEXT_ALIGNMENT_VIEW_START` <br />                       | | `int`    | `TEXT_DIRECTION_ANY_RTL` <br />                          | | `int`    | `TEXT_DIRECTION_FIRST_STRONG` <br />                     | | `int`    | `TEXT_DIRECTION_FIRST_STRONG_LTR` <br />                 | | `int`    | `TEXT_DIRECTION_FIRST_STRONG_RTL` <br />                 | | `int`    | `TEXT_DIRECTION_INHERIT` <br />                          | | `int`    | `TEXT_DIRECTION_LOCALE` <br />                           | | `int`    | `TEXT_DIRECTION_LTR` <br />                              | | `int`    | `TEXT_DIRECTION_RTL` <br />                              | | `String` | `VIEW_LOG_TAG` <br />                                    | | `int`    | `VISIBLE` <br />                                         | |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ### Inherited fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` android.view.View ` |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ALPHA` <br />                                                     | | ` protected static final int[]`                                                                                                                                                          | `EMPTY_STATE_SET` <br />                                           | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_SELECTED_STATE_SET` <br />                        | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />         | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_STATE_SET` <br />                                 | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />                  | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_SELECTED_STATE_SET` <br />                                | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                 | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_STATE_SET` <br />                                         | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_WINDOW_FOCUSED_STATE_SET` <br />                          | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_SELECTED_STATE_SET` <br />                                | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                 | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_STATE_SET` <br />                                         | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />                          | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET` <br />                | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br /> | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_STATE_SET` <br />                         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />          | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_SELECTED_STATE_SET` <br />                        | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_STATE_SET` <br />                                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET` <br />                  | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_SELECTED_STATE_SET` <br />                        | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_STATE_SET` <br />                                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />                  | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_SELECTED_STATE_SET` <br />                                | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_STATE_SET` <br />                                         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_WINDOW_FOCUSED_STATE_SET` <br />                          | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ROTATION` <br />                                                  | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ROTATION_X` <br />                                                | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ROTATION_Y` <br />                                                | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `SCALE_X` <br />                                                   | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `SCALE_Y` <br />                                                   | | ` protected static final int[]`                                                                                                                                                          | `SELECTED_STATE_SET` <br />                                        | | ` protected static final int[]`                                                                                                                                                          | `SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                         | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `TRANSLATION_X` <br />                                             | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `TRANSLATION_Y` <br />                                             | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `TRANSLATION_Z` <br />                                             | | ` protected static final int[]`                                                                                                                                                          | `WINDOW_FOCUSED_STATE_SET` <br />                                  | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `X` <br />                                                         | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `Y` <br />                                                         | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `Z` <br />                                                         | |

|                                                                                                                                                                                ### Public constructors                                                                                                                                                                                ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout#TabLayout(android.content.Context))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context) `                                                                                                                                                   |
| ` `[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout#TabLayout(android.content.Context, android.util.AttributeSet))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) `                        |
| ` `[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout#TabLayout(android.content.Context, android.util.AttributeSet, int))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs, int defStyleAttr) ` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ||
|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void`                                                                                                             | ` `[addOnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout#addOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener))`(`[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)` listener) ` Add a[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)that will be invoked when tab selection changes.                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                             | ` `[addTab](https://developer.android.com/reference/android/support/design/widget/TabLayout#addTab(android.support.design.widget.TabLayout.Tab, boolean))`(`[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)` tab, boolean setSelected) ` Add a tab to this layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                             | ` `[addTab](https://developer.android.com/reference/android/support/design/widget/TabLayout#addTab(android.support.design.widget.TabLayout.Tab, int))`(`[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)` tab, int position) ` Add a tab to this layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                             | ` `[addTab](https://developer.android.com/reference/android/support/design/widget/TabLayout#addTab(android.support.design.widget.TabLayout.Tab))`(`[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)` tab) ` Add a tab to this layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                             | ` `[addTab](https://developer.android.com/reference/android/support/design/widget/TabLayout#addTab(android.support.design.widget.TabLayout.Tab, int, boolean))`(`[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)` tab, int position, boolean setSelected) ` Add a tab to this layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` void`                                                                                                             | ` `[addView](https://developer.android.com/reference/android/support/design/widget/TabLayout#addView(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` child, int index) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                             | ` `[addView](https://developer.android.com/reference/android/support/design/widget/TabLayout#addView(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                             | ` `[addView](https://developer.android.com/reference/android/support/design/widget/TabLayout#addView(android.view.View, android.view.ViewGroup.LayoutParams))`(`[View](https://developer.android.com/reference/android/view/View.html)` child, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` params) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` void`                                                                                                             | ` `[addView](https://developer.android.com/reference/android/support/design/widget/TabLayout#addView(android.view.View, int, android.view.ViewGroup.LayoutParams))`(`[View](https://developer.android.com/reference/android/view/View.html)` child, int index, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` params) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` void`                                                                                                             | ` `[clearOnTabSelectedListeners](https://developer.android.com/reference/android/support/design/widget/TabLayout#clearOnTabSelectedListeners())`() ` Remove all previously added[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` `[FrameLayout.LayoutParams](https://developer.android.com/reference/android/widget/FrameLayout.LayoutParams.html) | ` `[generateLayoutParams](https://developer.android.com/reference/android/support/design/widget/TabLayout#generateLayoutParams(android.util.AttributeSet))`(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` int`                                                                                                              | ` `[getSelectedTabPosition](https://developer.android.com/reference/android/support/design/widget/TabLayout#getSelectedTabPosition())`() ` Returns the position of the current selected tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` `[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)             | ` `[getTabAt](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabAt(int))`(int index) ` Returns the tab at the specified index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` int`                                                                                                              | ` `[getTabCount](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabCount())`() ` Returns the number of tabs currently registered with the action bar.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` int`                                                                                                              | ` `[getTabGravity](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabGravity())`() ` The current gravity used for laying out tabs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` int`                                                                                                              | ` `[getTabMode](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabMode())`() ` Returns the current mode used by this[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)                | ` `[getTabTextColors](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabTextColors())`() ` Gets the text colors for the different states (normal, selected) used for the tabs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` `[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)             | ` `[newTab](https://developer.android.com/reference/android/support/design/widget/TabLayout#newTab())`() ` Create and return a new[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                             | ` `[removeAllTabs](https://developer.android.com/reference/android/support/design/widget/TabLayout#removeAllTabs())`() ` Remove all tabs from the action bar and deselect the current tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` void`                                                                                                             | ` `[removeOnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout#removeOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener))`(`[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)` listener) ` Remove the given[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)that was previously added via[addOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#addOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener)).                                                                                              |
| ` void`                                                                                                             | ` `[removeTab](https://developer.android.com/reference/android/support/design/widget/TabLayout#removeTab(android.support.design.widget.TabLayout.Tab))`(`[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)` tab) ` Remove a tab from the layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                                             | ` `[removeTabAt](https://developer.android.com/reference/android/support/design/widget/TabLayout#removeTabAt(int))`(int position) ` Remove a tab from the layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                             | ` `[setOnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout#setOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener))`(`[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)` listener) ` *This method was deprecated in API level 26.1.0. Use[addOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#addOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener))and[removeOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#removeOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener)).* |
| ` void`                                                                                                             | ` `[setScrollPosition](https://developer.android.com/reference/android/support/design/widget/TabLayout#setScrollPosition(int, float, boolean))`(int position, float positionOffset, boolean updateSelectedText) ` Set the scroll position of the tabs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                             | ` `[setSelectedTabIndicatorColor](https://developer.android.com/reference/android/support/design/widget/TabLayout#setSelectedTabIndicatorColor(int))`(int color) ` Sets the tab indicator's color for the currently selected tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                             | ` `[setSelectedTabIndicatorHeight](https://developer.android.com/reference/android/support/design/widget/TabLayout#setSelectedTabIndicatorHeight(int))`(int height) ` Sets the tab indicator's height for the currently selected tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` void`                                                                                                             | ` `[setTabGravity](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabGravity(int))`(int gravity) ` Set the gravity to use when laying out the tabs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                             | ` `[setTabMode](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabMode(int))`(int mode) ` Set the behavior mode for the Tabs in this layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` void`                                                                                                             | ` `[setTabTextColors](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabTextColors(int, int))`(int normalColor, int selectedColor) ` Sets the text colors for the different states (normal, selected) used for the tabs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                             | ` `[setTabTextColors](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabTextColors(android.content.res.ColorStateList))`(`[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` textColor) ` Sets the text colors for the different states (normal, selected) used for the tabs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                             | ` `[setTabsFromPagerAdapter](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabsFromPagerAdapter(android.support.v4.view.PagerAdapter))`(`[PagerAdapter](https://developer.android.com/reference/android/support/v4/view/PagerAdapter)` adapter) ` *This method was deprecated in API level 23.4.0. Use[setupWithViewPager(ViewPager)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setupWithViewPager(android.support.v4.view.ViewPager))to link a TabLayout with a ViewPager together. When that method is used, the TabLayout will be automatically updated when the[PagerAdapter](https://developer.android.com/reference/android/support/v4/view/PagerAdapter)is changed.*                                                                                                                             |
| ` void`                                                                                                             | ` `[setupWithViewPager](https://developer.android.com/reference/android/support/design/widget/TabLayout#setupWithViewPager(android.support.v4.view.ViewPager, boolean))`(`[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager)` viewPager, boolean autoRefresh) ` The one-stop shop for setting up this[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)with a[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager).                                                                                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                                             | ` `[setupWithViewPager](https://developer.android.com/reference/android/support/design/widget/TabLayout#setupWithViewPager(android.support.v4.view.ViewPager))`(`[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager)` viewPager) ` The one-stop shop for setting up this[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)with a[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager).                                                                                                                                                                                                                                                                                                                                                                               |
| ` boolean`                                                                                                          | ` `[shouldDelayChildPressedState](https://developer.android.com/reference/android/support/design/widget/TabLayout#shouldDelayChildPressedState())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

|                                                                            ### Protected methods                                                                             ||
|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void` | ` `[onAttachedToWindow](https://developer.android.com/reference/android/support/design/widget/TabLayout#onAttachedToWindow())`() `                                  |
| ` void` | ` `[onDetachedFromWindow](https://developer.android.com/reference/android/support/design/widget/TabLayout#onDetachedFromWindow())`() `                              |
| ` void` | ` `[onMeasure](https://developer.android.com/reference/android/support/design/widget/TabLayout#onMeasure(int, int))`(int widthMeasureSpec, int heightMeasureSpec) ` |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` `[android.widget.HorizontalScrollView](https://developer.android.com/reference/android/widget/HorizontalScrollView.html)` ` |-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                             | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                    | | ` void`                                                                             | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                              | | ` void`                                                                             | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `           | | ` void`                                                                             | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2) ` | | ` boolean`                                                                          | ` arrowScroll(int arg0) `                                                                                                                                                                                               | | ` int`                                                                              | ` computeHorizontalScrollOffset() `                                                                                                                                                                                     | | ` int`                                                                              | ` computeHorizontalScrollRange() `                                                                                                                                                                                      | | ` void`                                                                             | ` computeScroll() `                                                                                                                                                                                                     | | ` int`                                                                              | ` computeScrollDeltaToGetChildRectOnScreen(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                         | | ` boolean`                                                                          | ` dispatchKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                             | | ` void`                                                                             | ` draw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                         | | ` boolean`                                                                          | ` executeKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                              | | ` void`                                                                             | ` fling(int arg0) `                                                                                                                                                                                                     | | ` boolean`                                                                          | ` fullScroll(int arg0) `                                                                                                                                                                                                | | ` CharSequence`                                                                     | ` getAccessibilityClassName() `                                                                                                                                                                                         | | ` float`                                                                            | ` getLeftFadingEdgeStrength() `                                                                                                                                                                                         | | ` int`                                                                              | ` getMaxScrollAmount() `                                                                                                                                                                                                | | ` float`                                                                            | ` getRightFadingEdgeStrength() `                                                                                                                                                                                        | | ` boolean`                                                                          | ` isFillViewport() `                                                                                                                                                                                                    | | ` boolean`                                                                          | ` isSmoothScrollingEnabled() `                                                                                                                                                                                          | | ` void`                                                                             | ` measureChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2) `                                                                                                     | | ` void`                                                                             | ` measureChildWithMargins(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                      | | ` boolean`                                                                          | ` onGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                   | | ` boolean`                                                                          | ` onInterceptTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                  | | ` void`                                                                             | ` onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                                      | | ` void`                                                                             | ` onMeasure(int arg0, int arg1) `                                                                                                                                                                                       | | ` void`                                                                             | ` onOverScrolled(int arg0, int arg1, boolean arg2, boolean arg3) `                                                                                                                                                      | | ` boolean`                                                                          | ` onRequestFocusInDescendants(int arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                            | | ` void`                                                                             | ` onRestoreInstanceState(`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` arg0) `                                                                                                     | | ` `[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) | ` onSaveInstanceState() `                                                                                                                                                                                               | | ` void`                                                                             | ` onSizeChanged(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                               | | ` boolean`                                                                          | ` onTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                           | | ` boolean`                                                                          | ` pageScroll(int arg0) `                                                                                                                                                                                                | | ` void`                                                                             | ` requestChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                     | | ` boolean`                                                                          | ` requestChildRectangleOnScreen(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, boolean arg2) `       | | ` void`                                                                             | ` requestDisallowInterceptTouchEvent(boolean arg0) `                                                                                                                                                                    | | ` void`                                                                             | ` requestLayout() `                                                                                                                                                                                                     | | ` void`                                                                             | ` scrollTo(int arg0, int arg1) `                                                                                                                                                                                        | | ` void`                                                                             | ` setFillViewport(boolean arg0) `                                                                                                                                                                                       | | ` void`                                                                             | ` setOverScrollMode(int arg0) `                                                                                                                                                                                         | | ` void`                                                                             | ` setSmoothScrollingEnabled(boolean arg0) `                                                                                                                                                                             | | ` boolean`                                                                          | ` shouldDelayChildPressedState() `                                                                                                                                                                                      | | ` final void`                                                                       | ` smoothScrollBy(int arg0, int arg1) `                                                                                                                                                                                  | | ` final void`                                                                       | ` smoothScrollTo(int arg0, int arg1) `                                                                                                                                                                                  | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` `[android.widget.FrameLayout](https://developer.android.com/reference/android/widget/FrameLayout.html)` ` |---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------| | ` boolean`                                                                                                    | ` checkLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `    | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` generateDefaultLayoutParams() `                                                                                                           | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` generateLayoutParams(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0) `                     | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` generateLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) ` | | ` CharSequence`                                                                                               | ` getAccessibilityClassName() `                                                                                                             | | ` boolean`                                                                                                    | ` getConsiderGoneChildrenWhenMeasuring() `                                                                                                  | | ` boolean`                                                                                                    | ` getMeasureAllChildren() `                                                                                                                 | | ` void`                                                                                                       | ` onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4) `                                                                          | | ` void`                                                                                                       | ` onMeasure(int arg0, int arg1) `                                                                                                           | | ` void`                                                                                                       | ` setForegroundGravity(int arg0) `                                                                                                          | | ` void`                                                                                                       | ` setMeasureAllChildren(boolean arg0) `                                                                                                     | | ` boolean`                                                                                                    | ` shouldDelayChildPressedState() `                                                                                                          | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` `[android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` ` |-----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                                           | ` addChildrenForAccessibility(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                                      | | ` void`                                                                                                                           | ` addFocusables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1, int arg2) `                                                                                                                                                | | ` void`                                                                                                                           | ` addKeyboardNavigationClusters(Collection<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` addStatesFromChildren() `                                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` addTouchables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                                                    | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `                                                                  | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                                           | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2) `                                                        | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                     | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2) `                                                                                                                                                                 | | ` boolean`                                                                                                                        | ` addViewInLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2, boolean arg3) `                                  | | ` boolean`                                                                                                                        | ` addViewInLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2) `                                                | | ` void`                                                                                                                           | ` attachLayoutAnimationParameters(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1, int arg2, int arg3) `                      | | ` void`                                                                                                                           | ` attachViewToParent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2) `                                             | | ` void`                                                                                                                           | ` bringChildToFront(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` canAnimate() `                                                                                                                                                                                                                                                               | | ` boolean`                                                                                                                        | ` checkLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `                                                                                                                                       | | ` void`                                                                                                                           | ` childDrawableStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                   | | ` void`                                                                                                                           | ` childHasTransientStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1) `                                                                                                                                                 | | ` void`                                                                                                                           | ` cleanupLayoutState(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` void`                                                                                                                           | ` clearChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                             | | ` void`                                                                                                                           | ` clearDisappearingChildren() `                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` clearFocus() `                                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` debug(int arg0) `                                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` detachAllViewsFromParent() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` detachViewFromParent(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` detachViewFromParent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                        | | ` void`                                                                                                                           | ` detachViewsFromParent(int arg0, int arg1) `                                                                                                                                                                                                                                  | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` dispatchApplyWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchCapturedPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` dispatchConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                       | | ` void`                                                                                                                           | ` dispatchDisplayHint(int arg0) `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchDragEvent(`[DragEvent](https://developer.android.com/reference/android/view/DragEvent.html)` arg0) `                                                                                                                                                                 | | ` void`                                                                                                                           | ` dispatchDraw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                                        | | ` void`                                                                                                                           | ` dispatchDrawableHotspotChanged(float arg0, float arg1) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` dispatchFreezeSelfOnly(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                                    | | ` boolean`                                                                                                                        | ` dispatchGenericFocusedEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchGenericPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                            | | ` boolean`                                                                                                                        | ` dispatchKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` dispatchKeyEventPreIme(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchKeyShortcutEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                            | | ` void`                                                                                                                           | ` dispatchPointerCaptureChanged(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` dispatchProvideAutofillStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                                | | ` void`                                                                                                                           | ` dispatchProvideStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` dispatchRestoreInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                              | | ` void`                                                                                                                           | ` dispatchSaveInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                                 | | ` void`                                                                                                                           | ` dispatchSetActivated(boolean arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchSetPressed(boolean arg0) `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` dispatchSetSelected(boolean arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` dispatchSystemUiVisibilityChanged(int arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` dispatchThawSelfOnly(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                                      | | ` boolean`                                                                                                                        | ` dispatchTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                            | | ` boolean`                                                                                                                        | ` dispatchTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                        | | ` boolean`                                                                                                                        | ` dispatchUnhandledMove(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                             | | ` void`                                                                                                                           | ` dispatchVisibilityChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` dispatchWindowSystemUiVisiblityChanged(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` dispatchWindowVisibilityChanged(int arg0) `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` drawChild(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, long arg2) `                                                                                 | | ` void`                                                                                                                           | ` drawableStateChanged() `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` endViewTransition(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                           | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` findFocus() `                                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` findViewsWithText(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, CharSequence arg1, int arg2) `                                                                                                                                   | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` focusSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                                       | | ` void`                                                                                                                           | ` focusableViewAvailable(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` gatherTransparentRegion(`[Region](https://developer.android.com/reference/android/graphics/Region.html)` arg0) `                                                                                                                                                             | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` generateDefaultLayoutParams() `                                                                                                                                                                                                                                              | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` generateLayoutParams(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0) `                                                                                                                                                        | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` generateLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `                                                                                                                                    | | ` CharSequence`                                                                                                                   | ` getAccessibilityClassName() `                                                                                                                                                                                                                                                | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` getChildAt(int arg0) `                                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getChildCount() `                                                                                                                                                                                                                                                            | | ` int`                                                                                                                            | ` getChildDrawingOrder(int arg0, int arg1) `                                                                                                                                                                                                                                   | | ` static int`                                                                                                                     | ` getChildMeasureSpec(int arg0, int arg1, int arg2) `                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` getChildStaticTransformation(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Transformation](https://developer.android.com/reference/android/view/animation/Transformation.html)` arg1) `                                                   | | ` boolean`                                                                                                                        | ` getChildVisibleRect(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, `[Point](https://developer.android.com/reference/android/graphics/Point.html)` arg2) ` | | ` boolean`                                                                                                                        | ` getClipChildren() `                                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` getClipToPadding() `                                                                                                                                                                                                                                                         | | ` int`                                                                                                                            | ` getDescendantFocusability() `                                                                                                                                                                                                                                                | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` getFocusedChild() `                                                                                                                                                                                                                                                          | | ` `[LayoutAnimationController](https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html)     | ` getLayoutAnimation() `                                                                                                                                                                                                                                                       | | ` `[Animation.AnimationListener](https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html) | ` getLayoutAnimationListener() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getLayoutMode() `                                                                                                                                                                                                                                                            | | ` `[LayoutTransition](https://developer.android.com/reference/android/animation/LayoutTransition.html)                            | ` getLayoutTransition() `                                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getNestedScrollAxes() `                                                                                                                                                                                                                                                      | | ` `[ViewOverlay](https://developer.android.com/reference/android/view/ViewOverlay.html)                                           | ` getOverlay() `                                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getPersistentDrawingCache() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` getTouchscreenBlocksFocus() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` hasFocus() `                                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                                        | ` hasTransientState() `                                                                                                                                                                                                                                                        | | ` int`                                                                                                                            | ` indexOfChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                | | ` final void`                                                                                                                     | ` invalidateChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                          | | ` `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)                                             | ` invalidateChildInParent(int[] arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isAlwaysDrawnWithCacheEnabled() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` isAnimationCacheEnabled() `                                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isChildrenDrawingOrderEnabled() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` isChildrenDrawnWithCacheEnabled() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isMotionEventSplittingEnabled() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` isTransitionGroup() `                                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` jumpDrawablesToCurrentState() `                                                                                                                                                                                                                                              | | ` final void`                                                                                                                     | ` layout(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` measureChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2) `                                                                                                                                                            | | ` void`                                                                                                                           | ` measureChildWithMargins(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                             | | ` void`                                                                                                                           | ` measureChildren(int arg0, int arg1) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` notifySubtreeAccessibilityStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                             | | ` final void`                                                                                                                     | ` offsetDescendantRectToMyCoords(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                           | | ` final void`                                                                                                                     | ` offsetRectIntoDescendantCoords(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                           | | ` void`                                                                                                                           | ` onAttachedToWindow() `                                                                                                                                                                                                                                                       | | ` int[]`                                                                                                                          | ` onCreateDrawableState(int arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onDescendantInvalidated(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                      | | ` void`                                                                                                                           | ` onDetachedFromWindow() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onInterceptHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                         | | ` boolean`                                                                                                                        | ` onInterceptTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                         | | ` abstract void`                                                                                                                  | ` onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` onNestedFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2, boolean arg3) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` onNestedPreFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                                    | | ` boolean`                                                                                                                        | ` onNestedPrePerformAccessibilityAction(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                            | | ` void`                                                                                                                           | ` onNestedPreScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int[] arg3) `                                                                                                                                           | | ` void`                                                                                                                           | ` onNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                      | | ` void`                                                                                                                           | ` onNestedScrollAccepted(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                             | | ` boolean`                                                                                                                        | ` onRequestFocusInDescendants(int arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` onRequestSendAccessibilityEvent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg1) `                                    | | ` `[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)                                           | ` onResolvePointerIcon(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0, int arg1) `                                                                                                                                                | | ` boolean`                                                                                                                        | ` onStartNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                                | | ` void`                                                                                                                           | ` onStopNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` void`                                                                                                                           | ` onViewAdded(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                 | | ` void`                                                                                                                           | ` onViewRemoved(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                               | | ` void`                                                                                                                           | ` recomputeViewAttributes(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` void`                                                                                                                           | ` removeAllViews() `                                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` removeAllViewsInLayout() `                                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` removeDetachedView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1) `                                                                                                                                                            | | ` void`                                                                                                                           | ` removeView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                  | | ` void`                                                                                                                           | ` removeViewAt(int arg0) `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` removeViewInLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` void`                                                                                                                           | ` removeViews(int arg0, int arg1) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` removeViewsInLayout(int arg0, int arg1) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` requestChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                            | | ` boolean`                                                                                                                        | ` requestChildRectangleOnScreen(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, boolean arg2) `                                                              | | ` void`                                                                                                                           | ` requestDisallowInterceptTouchEvent(boolean arg0) `                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` requestFocus(int arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` requestSendAccessibilityEvent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg1) `                                      | | ` void`                                                                                                                           | ` requestTransparentRegion(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` restoreDefaultFocus() `                                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` scheduleLayoutAnimation() `                                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setAddStatesFromChildren(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setAlwaysDrawnWithCacheEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setAnimationCacheEnabled(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setChildrenDrawingCacheEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setChildrenDrawingOrderEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setChildrenDrawnWithCacheEnabled(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setClipChildren(boolean arg0) `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setClipToPadding(boolean arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setDescendantFocusability(int arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setLayoutAnimation(`[LayoutAnimationController](https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html)` arg0) `                                                                                                                      | | ` void`                                                                                                                           | ` setLayoutAnimationListener(`[Animation.AnimationListener](https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html)` arg0) `                                                                                                          | | ` void`                                                                                                                           | ` setLayoutMode(int arg0) `                                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setLayoutTransition(`[LayoutTransition](https://developer.android.com/reference/android/animation/LayoutTransition.html)` arg0) `                                                                                                                                            | | ` void`                                                                                                                           | ` setMotionEventSplittingEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setOnHierarchyChangeListener(`[ViewGroup.OnHierarchyChangeListener](https://developer.android.com/reference/android/view/ViewGroup.OnHierarchyChangeListener.html)` arg0) `                                                                                                  | | ` void`                                                                                                                           | ` setPersistentDrawingCache(int arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setStaticTransformationsEnabled(boolean arg0) `                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setTouchscreenBlocksFocus(boolean arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setTransitionGroup(boolean arg0) `                                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` shouldDelayChildPressedState() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                             | | ` boolean`                                                                                                                        | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1, int arg2) `                                              | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1) `                                                        | | ` void`                                                                                                                           | ` startLayoutAnimation() `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` startViewTransition(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                         | | ` void`                                                                                                                           | ` updateViewLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `                                                         | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` `[android.view.View](https://developer.android.com/reference/android/view/View.html)` ` |-----------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                                           | ` addChildrenForAccessibility(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                            | | ` void`                                                                                                                           | ` addExtraDataToAccessibilityNodeInfo(`[AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html)` arg0, String arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) ` | | ` void`                                                                                                                           | ` addFocusables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1) `                                                                                                                                                | | ` void`                                                                                                                           | ` addFocusables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1, int arg2) `                                                                                                                                      | | ` void`                                                                                                                           | ` addKeyboardNavigationClusters(Collection<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1) `                                                                                                                               | | ` void`                                                                                                                           | ` addOnAttachStateChangeListener(`[View.OnAttachStateChangeListener](https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html)` arg0) `                                                                                            | | ` void`                                                                                                                           | ` addOnLayoutChangeListener(`[View.OnLayoutChangeListener](https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html)` arg0) `                                                                                                           | | ` void`                                                                                                                           | ` addTouchables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                                          | | ` `[ViewPropertyAnimator](https://developer.android.com/reference/android/view/ViewPropertyAnimator.html)                         | ` animate() `                                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` announceForAccessibility(CharSequence arg0) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` autofill(`[AutofillValue](https://developer.android.com/reference/android/view/autofill/AutofillValue.html)` arg0) `                                                                                                                                               | | ` void`                                                                                                                           | ` autofill(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[AutofillValue](https://developer.android.com/reference/android/view/autofill/AutofillValue.html)`> arg0) `                                                       | | ` boolean`                                                                                                                        | ` awakenScrollBars(int arg0, boolean arg1) `                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` awakenScrollBars(int arg0) `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` awakenScrollBars() `                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` bringToFront() `                                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` buildDrawingCache(boolean arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` buildDrawingCache() `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` buildLayer() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` callOnClick() `                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` canResolveLayoutDirection() `                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` canResolveTextAlignment() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` canResolveTextDirection() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` canScrollHorizontally(int arg0) `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` canScrollVertically(int arg0) `                                                                                                                                                                                                                                    | | ` final void`                                                                                                                     | ` cancelDragAndDrop() `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` cancelLongPress() `                                                                                                                                                                                                                                                | | ` final void`                                                                                                                     | ` cancelPendingInputEvents() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` checkInputConnectionProxy(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                         | | ` void`                                                                                                                           | ` clearAnimation() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` clearFocus() `                                                                                                                                                                                                                                                     | | ` static int`                                                                                                                     | ` combineMeasuredStates(int arg0, int arg1) `                                                                                                                                                                                                                        | | ` int`                                                                                                                            | ` computeHorizontalScrollExtent() `                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` computeHorizontalScrollOffset() `                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` computeHorizontalScrollRange() `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` computeScroll() `                                                                                                                                                                                                                                                  | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` computeSystemWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                      | | ` int`                                                                                                                            | ` computeVerticalScrollExtent() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` computeVerticalScrollOffset() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` computeVerticalScrollRange() `                                                                                                                                                                                                                                     | | ` `[AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html)         | ` createAccessibilityNodeInfo() `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` createContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0) `                                                                                                                                                   | | ` void`                                                                                                                           | ` destroyDrawingCache() `                                                                                                                                                                                                                                            | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` dispatchApplyWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` dispatchCapturedPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                        | | ` void`                                                                                                                           | ` dispatchConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                             | | ` void`                                                                                                                           | ` dispatchDisplayHint(int arg0) `                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` dispatchDragEvent(`[DragEvent](https://developer.android.com/reference/android/view/DragEvent.html)` arg0) `                                                                                                                                                       | | ` void`                                                                                                                           | ` dispatchDraw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                              | | ` void`                                                                                                                           | ` dispatchDrawableHotspotChanged(float arg0, float arg1) `                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` dispatchFinishTemporaryDetach() `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchGenericFocusedEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` dispatchGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                          | | ` boolean`                                                                                                                        | ` dispatchGenericPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` dispatchHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                          | | ` boolean`                                                                                                                        | ` dispatchKeyEventPreIme(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                    | | ` boolean`                                                                                                                        | ` dispatchKeyShortcutEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchNestedFling(float arg0, float arg1, boolean arg2) `                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` dispatchNestedPreFling(float arg0, float arg1) `                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchNestedPrePerformAccessibilityAction(int arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                           | | ` boolean`                                                                                                                        | ` dispatchNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3) `                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchNestedScroll(int arg0, int arg1, int arg2, int arg3, int[] arg4) `                                                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchPointerCaptureChanged(boolean arg0) `                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` dispatchPopulateAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                      | | ` void`                                                                                                                           | ` dispatchProvideAutofillStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                      | | ` void`                                                                                                                           | ` dispatchProvideStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                        | | ` void`                                                                                                                           | ` dispatchRestoreInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                    | | ` void`                                                                                                                           | ` dispatchSaveInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                       | | ` void`                                                                                                                           | ` dispatchSetActivated(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` dispatchSetPressed(boolean arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` dispatchSetSelected(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` dispatchStartTemporaryDetach() `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` dispatchSystemUiVisibilityChanged(int arg0) `                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` dispatchTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchUnhandledMove(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                   | | ` void`                                                                                                                           | ` dispatchVisibilityChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                               | | ` void`                                                                                                                           | ` dispatchWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchWindowSystemUiVisiblityChanged(int arg0) `                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` dispatchWindowVisibilityChanged(int arg0) `                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` draw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                                      | | ` void`                                                                                                                           | ` drawableHotspotChanged(float arg0, float arg1) `                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` drawableStateChanged() `                                                                                                                                                                                                                                           | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` findFocus() `                                                                                                                                                                                                                                                      | | ` final <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                                   | ` findViewById(int arg0) `                                                                                                                                                                                                                                           | | ` final <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                                   | ` findViewWithTag(Object arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` findViewsWithText(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, CharSequence arg1, int arg2) `                                                                                                                         | | ` boolean`                                                                                                                        | ` fitSystemWindows(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                              | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` focusSearch(int arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` forceHasOverlappingRendering(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` forceLayout() `                                                                                                                                                                                                                                                    | | ` static int`                                                                                                                     | ` generateViewId() `                                                                                                                                                                                                                                                 | | ` CharSequence`                                                                                                                   | ` getAccessibilityClassName() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getAccessibilityLiveRegion() `                                                                                                                                                                                                                                     | | ` `[AccessibilityNodeProvider](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeProvider.html) | ` getAccessibilityNodeProvider() `                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getAccessibilityTraversalAfter() `                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getAccessibilityTraversalBefore() `                                                                                                                                                                                                                                | | ` float`                                                                                                                          | ` getAlpha() `                                                                                                                                                                                                                                                       | | ` `[Animation](https://developer.android.com/reference/android/view/animation/Animation.html)                                     | ` getAnimation() `                                                                                                                                                                                                                                                   | | ` `[IBinder](https://developer.android.com/reference/android/os/IBinder.html)                                                     | ` getApplicationWindowToken() `                                                                                                                                                                                                                                      | | ` String[]`                                                                                                                       | ` getAutofillHints() `                                                                                                                                                                                                                                               | | ` final `[AutofillId](https://developer.android.com/reference/android/view/autofill/AutofillId.html)                              | ` getAutofillId() `                                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getAutofillType() `                                                                                                                                                                                                                                                | | ` `[AutofillValue](https://developer.android.com/reference/android/view/autofill/AutofillValue.html)                              | ` getAutofillValue() `                                                                                                                                                                                                                                               | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)                                    | ` getBackground() `                                                                                                                                                                                                                                                  | | ` `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)                              | ` getBackgroundTintList() `                                                                                                                                                                                                                                          | | ` `[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)                               | ` getBackgroundTintMode() `                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getBaseline() `                                                                                                                                                                                                                                                    | | ` final int`                                                                                                                      | ` getBottom() `                                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getBottomFadingEdgeStrength() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getBottomPaddingOffset() `                                                                                                                                                                                                                                         | | ` float`                                                                                                                          | ` getCameraDistance() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` getClipBounds(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                 | | ` `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)                                                     | ` getClipBounds() `                                                                                                                                                                                                                                                  | | ` final boolean`                                                                                                                  | ` getClipToOutline() `                                                                                                                                                                                                                                               | | ` CharSequence`                                                                                                                   | ` getContentDescription() `                                                                                                                                                                                                                                          | | ` final `[Context](https://developer.android.com/reference/android/content/Context.html)                                          | ` getContext() `                                                                                                                                                                                                                                                     | | ` `[ContextMenu.ContextMenuInfo](https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html)           | ` getContextMenuInfo() `                                                                                                                                                                                                                                             | | ` final boolean`                                                                                                                  | ` getDefaultFocusHighlightEnabled() `                                                                                                                                                                                                                                | | ` static int`                                                                                                                     | ` getDefaultSize(int arg0, int arg1) `                                                                                                                                                                                                                               | | ` `[Display](https://developer.android.com/reference/android/view/Display.html)                                                   | ` getDisplay() `                                                                                                                                                                                                                                                     | | ` final int[]`                                                                                                                    | ` getDrawableState() `                                                                                                                                                                                                                                               | | ` `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)                                                 | ` getDrawingCache() `                                                                                                                                                                                                                                                | | ` `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)                                                 | ` getDrawingCache(boolean arg0) `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getDrawingCacheBackgroundColor() `                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getDrawingCacheQuality() `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` getDrawingRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                | | ` long`                                                                                                                           | ` getDrawingTime() `                                                                                                                                                                                                                                                 | | ` float`                                                                                                                          | ` getElevation() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` getFilterTouchesWhenObscured() `                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` getFitsSystemWindows() `                                                                                                                                                                                                                                           | | ` int`                                                                                                                            | ` getFocusable() `                                                                                                                                                                                                                                                   | | ` ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`>`                                            | ` getFocusables(int arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` getFocusedRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)                                    | ` getForeground() `                                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getForegroundGravity() `                                                                                                                                                                                                                                           | | ` `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)                              | ` getForegroundTintList() `                                                                                                                                                                                                                                          | | ` `[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)                               | ` getForegroundTintMode() `                                                                                                                                                                                                                                          | | ` final boolean`                                                                                                                  | ` getGlobalVisibleRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                          | | ` boolean`                                                                                                                        | ` getGlobalVisibleRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0, `[Point](https://developer.android.com/reference/android/graphics/Point.html)` arg1) `                                                                     | | ` `[Handler](https://developer.android.com/reference/android/os/Handler.html)                                                     | ` getHandler() `                                                                                                                                                                                                                                                     | | ` final boolean`                                                                                                                  | ` getHasOverlappingRendering() `                                                                                                                                                                                                                                     | | ` final int`                                                                                                                      | ` getHeight() `                                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` getHitRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                    | | ` int`                                                                                                                            | ` getHorizontalFadingEdgeLength() `                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getHorizontalScrollbarHeight() `                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getId() `                                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getImportantForAccessibility() `                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getImportantForAutofill() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` getKeepScreenOn() `                                                                                                                                                                                                                                                | | ` `[KeyEvent.DispatcherState](https://developer.android.com/reference/android/view/KeyEvent.DispatcherState.html)                 | ` getKeyDispatcherState() `                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getLabelFor() `                                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getLayerType() `                                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getLayoutDirection() `                                                                                                                                                                                                                                             | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` getLayoutParams() `                                                                                                                                                                                                                                                | | ` final int`                                                                                                                      | ` getLeft() `                                                                                                                                                                                                                                                        | | ` float`                                                                                                                          | ` getLeftFadingEdgeStrength() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getLeftPaddingOffset() `                                                                                                                                                                                                                                           | | ` final boolean`                                                                                                                  | ` getLocalVisibleRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                           | | ` void`                                                                                                                           | ` getLocationInWindow(int[] arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` getLocationOnScreen(int[] arg0) `                                                                                                                                                                                                                                  | | ` `[Matrix](https://developer.android.com/reference/android/graphics/Matrix.html)                                                 | ` getMatrix() `                                                                                                                                                                                                                                                      | | ` final int`                                                                                                                      | ` getMeasuredHeight() `                                                                                                                                                                                                                                              | | ` final int`                                                                                                                      | ` getMeasuredHeightAndState() `                                                                                                                                                                                                                                      | | ` final int`                                                                                                                      | ` getMeasuredState() `                                                                                                                                                                                                                                               | | ` final int`                                                                                                                      | ` getMeasuredWidth() `                                                                                                                                                                                                                                               | | ` final int`                                                                                                                      | ` getMeasuredWidthAndState() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getMinimumHeight() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getMinimumWidth() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getNextClusterForwardId() `                                                                                                                                                                                                                                        | | ` int`                                                                                                                            | ` getNextFocusDownId() `                                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getNextFocusForwardId() `                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getNextFocusLeftId() `                                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getNextFocusRightId() `                                                                                                                                                                                                                                            | | ` int`                                                                                                                            | ` getNextFocusUpId() `                                                                                                                                                                                                                                               | | ` `[View.OnFocusChangeListener](https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html)             | ` getOnFocusChangeListener() `                                                                                                                                                                                                                                       | | ` `[ViewOutlineProvider](https://developer.android.com/reference/android/view/ViewOutlineProvider.html)                           | ` getOutlineProvider() `                                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getOverScrollMode() `                                                                                                                                                                                                                                              | | ` `[ViewOverlay](https://developer.android.com/reference/android/view/ViewOverlay.html)                                           | ` getOverlay() `                                                                                                                                                                                                                                                     | | ` int`                                                                                                                            | ` getPaddingBottom() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getPaddingEnd() `                                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getPaddingLeft() `                                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getPaddingRight() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getPaddingStart() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getPaddingTop() `                                                                                                                                                                                                                                                  | | ` final `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)                                       | ` getParent() `                                                                                                                                                                                                                                                      | | ` `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)                                             | ` getParentForAccessibility() `                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getPivotX() `                                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getPivotY() `                                                                                                                                                                                                                                                      | | ` `[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)                                           | ` getPointerIcon() `                                                                                                                                                                                                                                                 | | ` `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)                                        | ` getResources() `                                                                                                                                                                                                                                                   | | ` final boolean`                                                                                                                  | ` getRevealOnFocusHint() `                                                                                                                                                                                                                                           | | ` final int`                                                                                                                      | ` getRight() `                                                                                                                                                                                                                                                       | | ` float`                                                                                                                          | ` getRightFadingEdgeStrength() `                                                                                                                                                                                                                                     | | ` int`                                                                                                                            | ` getRightPaddingOffset() `                                                                                                                                                                                                                                          | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` getRootView() `                                                                                                                                                                                                                                                    | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` getRootWindowInsets() `                                                                                                                                                                                                                                            | | ` float`                                                                                                                          | ` getRotation() `                                                                                                                                                                                                                                                    | | ` float`                                                                                                                          | ` getRotationX() `                                                                                                                                                                                                                                                   | | ` float`                                                                                                                          | ` getRotationY() `                                                                                                                                                                                                                                                   | | ` float`                                                                                                                          | ` getScaleX() `                                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getScaleY() `                                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getScrollBarDefaultDelayBeforeFade() `                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getScrollBarFadeDuration() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getScrollBarSize() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getScrollBarStyle() `                                                                                                                                                                                                                                              | | ` int`                                                                                                                            | ` getScrollIndicators() `                                                                                                                                                                                                                                            | | ` final int`                                                                                                                      | ` getScrollX() `                                                                                                                                                                                                                                                     | | ` final int`                                                                                                                      | ` getScrollY() `                                                                                                                                                                                                                                                     | | ` int`                                                                                                                            | ` getSolidColor() `                                                                                                                                                                                                                                                  | | ` `[StateListAnimator](https://developer.android.com/reference/android/animation/StateListAnimator.html)                          | ` getStateListAnimator() `                                                                                                                                                                                                                                           | | ` int`                                                                                                                            | ` getSuggestedMinimumHeight() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getSuggestedMinimumWidth() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getSystemUiVisibility() `                                                                                                                                                                                                                                          | | ` Object`                                                                                                                         | ` getTag() `                                                                                                                                                                                                                                                         | | ` Object`                                                                                                                         | ` getTag(int arg0) `                                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getTextAlignment() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getTextDirection() `                                                                                                                                                                                                                                               | | ` CharSequence`                                                                                                                   | ` getTooltipText() `                                                                                                                                                                                                                                                 | | ` final int`                                                                                                                      | ` getTop() `                                                                                                                                                                                                                                                         | | ` float`                                                                                                                          | ` getTopFadingEdgeStrength() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getTopPaddingOffset() `                                                                                                                                                                                                                                            | | ` `[TouchDelegate](https://developer.android.com/reference/android/view/TouchDelegate.html)                                       | ` getTouchDelegate() `                                                                                                                                                                                                                                               | | ` ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`>`                                            | ` getTouchables() `                                                                                                                                                                                                                                                  | | ` String`                                                                                                                         | ` getTransitionName() `                                                                                                                                                                                                                                              | | ` float`                                                                                                                          | ` getTranslationX() `                                                                                                                                                                                                                                                | | ` float`                                                                                                                          | ` getTranslationY() `                                                                                                                                                                                                                                                | | ` float`                                                                                                                          | ` getTranslationZ() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getVerticalFadingEdgeLength() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getVerticalScrollbarPosition() `                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getVerticalScrollbarWidth() `                                                                                                                                                                                                                                      | | ` `[ViewTreeObserver](https://developer.android.com/reference/android/view/ViewTreeObserver.html)                                 | ` getViewTreeObserver() `                                                                                                                                                                                                                                            | | ` int`                                                                                                                            | ` getVisibility() `                                                                                                                                                                                                                                                  | | ` final int`                                                                                                                      | ` getWidth() `                                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getWindowAttachCount() `                                                                                                                                                                                                                                           | | ` `[WindowId](https://developer.android.com/reference/android/view/WindowId.html)                                                 | ` getWindowId() `                                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getWindowSystemUiVisibility() `                                                                                                                                                                                                                                    | | ` `[IBinder](https://developer.android.com/reference/android/os/IBinder.html)                                                     | ` getWindowToken() `                                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getWindowVisibility() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` getWindowVisibleDisplayFrame(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                  | | ` float`                                                                                                                          | ` getX() `                                                                                                                                                                                                                                                           | | ` float`                                                                                                                          | ` getY() `                                                                                                                                                                                                                                                           | | ` float`                                                                                                                          | ` getZ() `                                                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` hasExplicitFocusable() `                                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` hasFocus() `                                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` hasFocusable() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` hasNestedScrollingParent() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` hasOnClickListeners() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` hasOverlappingRendering() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` hasPointerCapture() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` hasTransientState() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` hasWindowFocus() `                                                                                                                                                                                                                                                 | | ` static `[View](https://developer.android.com/reference/android/view/View.html)                                                  | ` inflate(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, int arg1, `[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` arg2) `                                                               | | ` void`                                                                                                                           | ` invalidate() `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` invalidate(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                    | | ` void`                                                                                                                           | ` invalidate(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` invalidateDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                           | | ` void`                                                                                                                           | ` invalidateOutline() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isAccessibilityFocused() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` isActivated() `                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isAttachedToWindow() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` isClickable() `                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isContextClickable() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` isDirty() `                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isDrawingCacheEnabled() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isDuplicateParentStateEnabled() `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isEnabled() `                                                                                                                                                                                                                                                      | | ` final boolean`                                                                                                                  | ` isFocusable() `                                                                                                                                                                                                                                                    | | ` final boolean`                                                                                                                  | ` isFocusableInTouchMode() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` isFocused() `                                                                                                                                                                                                                                                      | | ` final boolean`                                                                                                                  | ` isFocusedByDefault() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` isHapticFeedbackEnabled() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isHardwareAccelerated() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isHorizontalFadingEdgeEnabled() `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isHorizontalScrollBarEnabled() `                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` isHovered() `                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isImportantForAccessibility() `                                                                                                                                                                                                                                    | | ` final boolean`                                                                                                                  | ` isImportantForAutofill() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` isInEditMode() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` isInLayout() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isInTouchMode() `                                                                                                                                                                                                                                                  | | ` final boolean`                                                                                                                  | ` isKeyboardNavigationCluster() `                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isLaidOut() `                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isLayoutDirectionResolved() `                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isLayoutRequested() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isLongClickable() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` isNestedScrollingEnabled() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` isOpaque() `                                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` isPaddingOffsetRequired() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isPaddingRelative() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isPressed() `                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isSaveEnabled() `                                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isSaveFromParentEnabled() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isScrollContainer() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isScrollbarFadingEnabled() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` isSelected() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isShown() `                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isSoundEffectsEnabled() `                                                                                                                                                                                                                                          | | ` final boolean`                                                                                                                  | ` isTemporarilyDetached() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isTextAlignmentResolved() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isTextDirectionResolved() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isVerticalFadingEdgeEnabled() `                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isVerticalScrollBarEnabled() `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` jumpDrawablesToCurrentState() `                                                                                                                                                                                                                                    | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` keyboardNavigationClusterSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                         | | ` void`                                                                                                                           | ` layout(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                   | | ` final void`                                                                                                                     | ` measure(int arg0, int arg1) `                                                                                                                                                                                                                                      | | ` static int[]`                                                                                                                   | ` mergeDrawableStates(int[] arg0, int[] arg1) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` offsetLeftAndRight(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` offsetTopAndBottom(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` onAnimationEnd() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` onAnimationStart() `                                                                                                                                                                                                                                               | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` onApplyWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0) `                                                                                                                                               | | ` void`                                                                                                                           | ` onAttachedToWindow() `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onCancelPendingInputEvents() `                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onCapturedPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                              | | ` boolean`                                                                                                                        | ` onCheckIsTextEditor() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` onCreateContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0) `                                                                                                                                                 | | ` int[]`                                                                                                                          | ` onCreateDrawableState(int arg0) `                                                                                                                                                                                                                                  | | ` `[InputConnection](https://developer.android.com/reference/android/view/inputmethod/InputConnection.html)                       | ` onCreateInputConnection(`[EditorInfo](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` onDetachedFromWindow() `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` onDisplayHint(int arg0) `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` onDragEvent(`[DragEvent](https://developer.android.com/reference/android/view/DragEvent.html)` arg0) `                                                                                                                                                             | | ` void`                                                                                                                           | ` onDraw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                                    | | ` void`                                                                                                                           | ` onDrawForeground(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                          | | ` final void`                                                                                                                     | ` onDrawScrollBars(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                          | | ` boolean`                                                                                                                        | ` onFilterTouchEventForSecurity(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                       | | ` void`                                                                                                                           | ` onFinishInflate() `                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` onFinishTemporaryDetach() `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` onFocusChanged(boolean arg0, int arg1, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg2) `                                                                                                                                        | | ` boolean`                                                                                                                        | ` onGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                | | ` void`                                                                                                                           | ` onHoverChanged(boolean arg0) `                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                        | | ` void`                                                                                                                           | ` onInitializeAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                          | | ` void`                                                                                                                           | ` onInitializeAccessibilityNodeInfo(`[AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html)` arg0) `                                                                                                 | | ` boolean`                                                                                                                        | ` onKeyDown(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                       | | ` boolean`                                                                                                                        | ` onKeyLongPress(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` onKeyMultiple(int arg0, int arg1, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg2) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` onKeyPreIme(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onKeyShortcut(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` onKeyUp(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                         | | ` void`                                                                                                                           | ` onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` onMeasure(int arg0, int arg1) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` onOverScrolled(int arg0, int arg1, boolean arg2, boolean arg3) `                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` onPointerCaptureChange(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onPopulateAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                            | | ` void`                                                                                                                           | ` onProvideAutofillStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                            | | ` void`                                                                                                                           | ` onProvideAutofillVirtualStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                     | | ` void`                                                                                                                           | ` onProvideStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                              | | ` void`                                                                                                                           | ` onProvideVirtualStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                       | | ` `[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)                                           | ` onResolvePointerIcon(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0, int arg1) `                                                                                                                                      | | ` void`                                                                                                                           | ` onRestoreInstanceState(`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` onRtlPropertiesChanged(int arg0) `                                                                                                                                                                                                                                 | | ` `[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)                                               | ` onSaveInstanceState() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onScreenStateChanged(int arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` onScrollChanged(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` onSetAlpha(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onSizeChanged(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onStartTemporaryDetach() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` onTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                        | | ` boolean`                                                                                                                        | ` onTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                    | | ` void`                                                                                                                           | ` onVisibilityAggregated(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onVisibilityChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                     | | ` void`                                                                                                                           | ` onWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` onWindowSystemUiVisibilityChanged(int arg0) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` onWindowVisibilityChanged(int arg0) `                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` overScrollBy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8) `                                                                                                                                                       | | ` boolean`                                                                                                                        | ` performAccessibilityAction(int arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                            | | ` boolean`                                                                                                                        | ` performClick() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` performContextClick(float arg0, float arg1) `                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` performContextClick() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` performHapticFeedback(int arg0) `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` performHapticFeedback(int arg0, int arg1) `                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` performLongClick(float arg0, float arg1) `                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` performLongClick() `                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` playSoundEffect(int arg0) `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` post(Runnable arg0) `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` postDelayed(Runnable arg0, long arg1) `                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` postInvalidate() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` postInvalidate(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` postInvalidateDelayed(long arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                         | | ` void`                                                                                                                           | ` postInvalidateDelayed(long arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                | | ` void`                                                                                                                           | ` postInvalidateOnAnimation() `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` postOnAnimation(Runnable arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` postOnAnimationDelayed(Runnable arg0, long arg1) `                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` refreshDrawableState() `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` releasePointerCapture() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` removeCallbacks(Runnable arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` removeOnAttachStateChangeListener(`[View.OnAttachStateChangeListener](https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html)` arg0) `                                                                                         | | ` void`                                                                                                                           | ` removeOnLayoutChangeListener(`[View.OnLayoutChangeListener](https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html)` arg0) `                                                                                                        | | ` void`                                                                                                                           | ` requestApplyInsets() `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` requestFitSystemWindows() `                                                                                                                                                                                                                                        | | ` final boolean`                                                                                                                  | ` requestFocus(int arg0) `                                                                                                                                                                                                                                           | | ` final boolean`                                                                                                                  | ` requestFocus() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` requestFocus(int arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                        | | ` final boolean`                                                                                                                  | ` requestFocusFromTouch() `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` requestLayout() `                                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` requestPointerCapture() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` requestRectangleOnScreen(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                      | | ` boolean`                                                                                                                        | ` requestRectangleOnScreen(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0, boolean arg1) `                                                                                                                                        | | ` final void`                                                                                                                     | ` requestUnbufferedDispatch(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                           | | ` static int`                                                                                                                     | ` resolveSize(int arg0, int arg1) `                                                                                                                                                                                                                                  | | ` static int`                                                                                                                     | ` resolveSizeAndState(int arg0, int arg1, int arg2) `                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` restoreDefaultFocus() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` restoreHierarchyState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                           | | ` void`                                                                                                                           | ` saveHierarchyState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                              | | ` void`                                                                                                                           | ` scheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1, long arg2) `                                                                                                                   | | ` void`                                                                                                                           | ` scrollBy(int arg0, int arg1) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` scrollTo(int arg0, int arg1) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` sendAccessibilityEvent(int arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` sendAccessibilityEventUnchecked(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                         | | ` void`                                                                                                                           | ` setAccessibilityDelegate(`[View.AccessibilityDelegate](https://developer.android.com/reference/android/view/View.AccessibilityDelegate.html)` arg0) `                                                                                                              | | ` void`                                                                                                                           | ` setAccessibilityLiveRegion(int arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setAccessibilityTraversalAfter(int arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setAccessibilityTraversalBefore(int arg0) `                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setActivated(boolean arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setAlpha(float arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setAnimation(`[Animation](https://developer.android.com/reference/android/view/animation/Animation.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` setAutofillHints(String... arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setBackground(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                                | | ` void`                                                                                                                           | ` setBackgroundColor(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setBackgroundDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                        | | ` void`                                                                                                                           | ` setBackgroundResource(int arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setBackgroundTintList(`[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` arg0) `                                                                                                                                  | | ` void`                                                                                                                           | ` setBackgroundTintMode(`[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)` arg0) `                                                                                                                                   | | ` final void`                                                                                                                     | ` setBottom(int arg0) `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setCameraDistance(float arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setClickable(boolean arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setClipBounds(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                 | | ` void`                                                                                                                           | ` setClipToOutline(boolean arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` setContentDescription(CharSequence arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setContextClickable(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setDefaultFocusHighlightEnabled(boolean arg0) `                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setDrawingCacheBackgroundColor(int arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setDrawingCacheEnabled(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setDrawingCacheQuality(int arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setDuplicateParentStateEnabled(boolean arg0) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setElevation(float arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setEnabled(boolean arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setFadingEdgeLength(int arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setFilterTouchesWhenObscured(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setFitsSystemWindows(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setFocusable(boolean arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setFocusable(int arg0) `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setFocusableInTouchMode(boolean arg0) `                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setFocusedByDefault(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setForeground(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                                | | ` void`                                                                                                                           | ` setForegroundGravity(int arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` setForegroundTintList(`[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` arg0) `                                                                                                                                  | | ` void`                                                                                                                           | ` setForegroundTintMode(`[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` setHapticFeedbackEnabled(boolean arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setHasTransientState(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setHorizontalFadingEdgeEnabled(boolean arg0) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setHorizontalScrollBarEnabled(boolean arg0) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setHovered(boolean arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setId(int arg0) `                                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setImportantForAccessibility(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setImportantForAutofill(int arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setKeepScreenOn(boolean arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setKeyboardNavigationCluster(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setLabelFor(int arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setLayerPaint(`[Paint](https://developer.android.com/reference/android/graphics/Paint.html)` arg0) `                                                                                                                                                               | | ` void`                                                                                                                           | ` setLayerType(int arg0, `[Paint](https://developer.android.com/reference/android/graphics/Paint.html)` arg1) `                                                                                                                                                      | | ` void`                                                                                                                           | ` setLayoutDirection(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `                                                                                                                               | | ` final void`                                                                                                                     | ` setLeft(int arg0) `                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setLongClickable(boolean arg0) `                                                                                                                                                                                                                                   | | ` final void`                                                                                                                     | ` setMeasuredDimension(int arg0, int arg1) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setMinimumHeight(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setMinimumWidth(int arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setNestedScrollingEnabled(boolean arg0) `                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setNextClusterForwardId(int arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setNextFocusDownId(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setNextFocusForwardId(int arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setNextFocusLeftId(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setNextFocusRightId(int arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setNextFocusUpId(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setOnApplyWindowInsetsListener(`[View.OnApplyWindowInsetsListener](https://developer.android.com/reference/android/view/View.OnApplyWindowInsetsListener.html)` arg0) `                                                                                            | | ` void`                                                                                                                           | ` setOnCapturedPointerListener(`[View.OnCapturedPointerListener](https://developer.android.com/reference/android/view/View.OnCapturedPointerListener.html)` arg0) `                                                                                                  | | ` void`                                                                                                                           | ` setOnClickListener(`[View.OnClickListener](https://developer.android.com/reference/android/view/View.OnClickListener.html)` arg0) `                                                                                                                                | | ` void`                                                                                                                           | ` setOnContextClickListener(`[View.OnContextClickListener](https://developer.android.com/reference/android/view/View.OnContextClickListener.html)` arg0) `                                                                                                           | | ` void`                                                                                                                           | ` setOnCreateContextMenuListener(`[View.OnCreateContextMenuListener](https://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html)` arg0) `                                                                                            | | ` void`                                                                                                                           | ` setOnDragListener(`[View.OnDragListener](https://developer.android.com/reference/android/view/View.OnDragListener.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` setOnFocusChangeListener(`[View.OnFocusChangeListener](https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html)` arg0) `                                                                                                              | | ` void`                                                                                                                           | ` setOnGenericMotionListener(`[View.OnGenericMotionListener](https://developer.android.com/reference/android/view/View.OnGenericMotionListener.html)` arg0) `                                                                                                        | | ` void`                                                                                                                           | ` setOnHoverListener(`[View.OnHoverListener](https://developer.android.com/reference/android/view/View.OnHoverListener.html)` arg0) `                                                                                                                                | | ` void`                                                                                                                           | ` setOnKeyListener(`[View.OnKeyListener](https://developer.android.com/reference/android/view/View.OnKeyListener.html)` arg0) `                                                                                                                                      | | ` void`                                                                                                                           | ` setOnLongClickListener(`[View.OnLongClickListener](https://developer.android.com/reference/android/view/View.OnLongClickListener.html)` arg0) `                                                                                                                    | | ` void`                                                                                                                           | ` setOnScrollChangeListener(`[View.OnScrollChangeListener](https://developer.android.com/reference/android/view/View.OnScrollChangeListener.html)` arg0) `                                                                                                           | | ` void`                                                                                                                           | ` setOnSystemUiVisibilityChangeListener(`[View.OnSystemUiVisibilityChangeListener](https://developer.android.com/reference/android/view/View.OnSystemUiVisibilityChangeListener.html)` arg0) `                                                                       | | ` void`                                                                                                                           | ` setOnTouchListener(`[View.OnTouchListener](https://developer.android.com/reference/android/view/View.OnTouchListener.html)` arg0) `                                                                                                                                | | ` void`                                                                                                                           | ` setOutlineProvider(`[ViewOutlineProvider](https://developer.android.com/reference/android/view/ViewOutlineProvider.html)` arg0) `                                                                                                                                  | | ` void`                                                                                                                           | ` setOverScrollMode(int arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setPadding(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setPaddingRelative(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setPivotX(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setPivotY(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setPointerIcon(`[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)` arg0) `                                                                                                                                                      | | ` void`                                                                                                                           | ` setPressed(boolean arg0) `                                                                                                                                                                                                                                         | | ` final void`                                                                                                                     | ` setRevealOnFocusHint(boolean arg0) `                                                                                                                                                                                                                               | | ` final void`                                                                                                                     | ` setRight(int arg0) `                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setRotation(float arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setRotationX(float arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setRotationY(float arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setSaveEnabled(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setSaveFromParentEnabled(boolean arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setScaleX(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setScaleY(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setScrollBarDefaultDelayBeforeFade(int arg0) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setScrollBarFadeDuration(int arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setScrollBarSize(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setScrollBarStyle(int arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setScrollContainer(boolean arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setScrollIndicators(int arg0, int arg1) `                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setScrollIndicators(int arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setScrollX(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setScrollY(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setScrollbarFadingEnabled(boolean arg0) `                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setSelected(boolean arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setSoundEffectsEnabled(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setStateListAnimator(`[StateListAnimator](https://developer.android.com/reference/android/animation/StateListAnimator.html)` arg0) `                                                                                                                               | | ` void`                                                                                                                           | ` setSystemUiVisibility(int arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setTag(int arg0, Object arg1) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setTag(Object arg0) `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setTextAlignment(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setTextDirection(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setTooltipText(CharSequence arg0) `                                                                                                                                                                                                                                | | ` final void`                                                                                                                     | ` setTop(int arg0) `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setTouchDelegate(`[TouchDelegate](https://developer.android.com/reference/android/view/TouchDelegate.html)` arg0) `                                                                                                                                                | | ` final void`                                                                                                                     | ` setTransitionName(String arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` setTranslationX(float arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setTranslationY(float arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setTranslationZ(float arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setVerticalFadingEdgeEnabled(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setVerticalScrollBarEnabled(boolean arg0) `                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setVerticalScrollbarPosition(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setVisibility(int arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setWillNotCacheDrawing(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setWillNotDraw(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setX(float arg0) `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setY(float arg0) `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setZ(float arg0) `                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                                        | ` showContextMenu() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` showContextMenu(float arg0, float arg1) `                                                                                                                                                                                                                          | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0, int arg1) `                                                                                                                           | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0) `                                                                                                                                     | | ` void`                                                                                                                           | ` startAnimation(`[Animation](https://developer.android.com/reference/android/view/animation/Animation.html)` arg0) `                                                                                                                                                | | ` final boolean`                                                                                                                  | ` startDrag(`[ClipData](https://developer.android.com/reference/android/content/ClipData.html)` arg0, `[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` arg1, Object arg2, int arg3) `                    | | ` final boolean`                                                                                                                  | ` startDragAndDrop(`[ClipData](https://developer.android.com/reference/android/content/ClipData.html)` arg0, `[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` arg1, Object arg2, int arg3) `             | | ` boolean`                                                                                                                        | ` startNestedScroll(int arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` stopNestedScroll() `                                                                                                                                                                                                                                               | | ` String`                                                                                                                         | ` toString() `                                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` unscheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1) `                                                                                                                            | | ` void`                                                                                                                           | ` unscheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                           | | ` final void`                                                                                                                     | ` updateDragShadow(`[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` arg0) `                                                                                                                              | | ` boolean`                                                                                                                        | ` verifyDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                               | | ` boolean`                                                                                                                        | ` willNotCacheDrawing() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` willNotDraw() `                                                                                                                                                                                                                                                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From interface` `[android.view.ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)` ` |------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void`                                                                               | ` bringChildToFront(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                           | | ` abstract boolean`                                                                            | ` canResolveLayoutDirection() `                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                            | ` canResolveTextAlignment() `                                                                                                                                                                                                                                                  | | ` abstract boolean`                                                                            | ` canResolveTextDirection() `                                                                                                                                                                                                                                                  | | ` abstract void`                                                                               | ` childDrawableStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                   | | ` abstract void`                                                                               | ` childHasTransientStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1) `                                                                                                                                                 | | ` abstract void`                                                                               | ` clearChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                             | | ` abstract void`                                                                               | ` createContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0) `                                                                                                                                                             | | ` abstract `[View](https://developer.android.com/reference/android/view/View.html)             | ` focusSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                                       | | ` abstract void`                                                                               | ` focusableViewAvailable(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                      | | ` abstract boolean`                                                                            | ` getChildVisibleRect(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, `[Point](https://developer.android.com/reference/android/graphics/Point.html)` arg2) ` | | ` abstract int`                                                                                | ` getLayoutDirection() `                                                                                                                                                                                                                                                       | | ` abstract `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) | ` getParent() `                                                                                                                                                                                                                                                                | | ` abstract `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) | ` getParentForAccessibility() `                                                                                                                                                                                                                                                | | ` abstract int`                                                                                | ` getTextAlignment() `                                                                                                                                                                                                                                                         | | ` abstract int`                                                                                | ` getTextDirection() `                                                                                                                                                                                                                                                         | | ` abstract void`                                                                               | ` invalidateChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                          | | ` abstract `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) | ` invalidateChildInParent(int[] arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                     | | ` abstract boolean`                                                                            | ` isLayoutDirectionResolved() `                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                            | ` isLayoutRequested() `                                                                                                                                                                                                                                                        | | ` abstract boolean`                                                                            | ` isTextAlignmentResolved() `                                                                                                                                                                                                                                                  | | ` abstract boolean`                                                                            | ` isTextDirectionResolved() `                                                                                                                                                                                                                                                  | | ` abstract `[View](https://developer.android.com/reference/android/view/View.html)             | ` keyboardNavigationClusterSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                   | | ` abstract void`                                                                               | ` notifySubtreeAccessibilityStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                             | | ` default void`                                                                                | ` onDescendantInvalidated(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                      | | ` abstract boolean`                                                                            | ` onNestedFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2, boolean arg3) `                                                                                                                                         | | ` abstract boolean`                                                                            | ` onNestedPreFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                                    | | ` abstract boolean`                                                                            | ` onNestedPrePerformAccessibilityAction(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                            | | ` abstract void`                                                                               | ` onNestedPreScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int[] arg3) `                                                                                                                                           | | ` abstract void`                                                                               | ` onNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                      | | ` abstract void`                                                                               | ` onNestedScrollAccepted(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                             | | ` abstract boolean`                                                                            | ` onStartNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                                | | ` abstract void`                                                                               | ` onStopNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` abstract void`                                                                               | ` recomputeViewAttributes(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` abstract void`                                                                               | ` requestChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                            | | ` abstract boolean`                                                                            | ` requestChildRectangleOnScreen(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, boolean arg2) `                                                              | | ` abstract void`                                                                               | ` requestDisallowInterceptTouchEvent(boolean arg0) `                                                                                                                                                                                                                           | | ` abstract void`                                                                               | ` requestFitSystemWindows() `                                                                                                                                                                                                                                                  | | ` abstract void`                                                                               | ` requestLayout() `                                                                                                                                                                                                                                                            | | ` abstract boolean`                                                                            | ` requestSendAccessibilityEvent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg1) `                                      | | ` abstract void`                                                                               | ` requestTransparentRegion(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                    | | ` abstract boolean`                                                                            | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` abstract boolean`                                                                            | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                             | | ` abstract `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html) | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1, int arg2) `                                              | | ` abstract `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html) | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1) `                                                        | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From interface` `[android.view.ViewManager](https://developer.android.com/reference/android/view/ViewManager.html)` ` |------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `          | | ` abstract void` | ` removeView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                          | | ` abstract void` | ` updateViewLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From interface` `[android.graphics.drawable.Drawable.Callback](https://developer.android.com/reference/android/graphics/drawable/Drawable.Callback.html)` ` |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` invalidateDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                         | | ` abstract void` | ` scheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1, long arg2) ` | | ` abstract void` | ` unscheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1) `          | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From interface` `[android.view.KeyEvent.Callback](https://developer.android.com/reference/android/view/KeyEvent.Callback.html)` ` |---------------------|------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean` | ` onKeyDown(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `               | | ` abstract boolean` | ` onKeyLongPress(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `          | | ` abstract boolean` | ` onKeyMultiple(int arg0, int arg1, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg2) ` | | ` abstract boolean` | ` onKeyUp(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                 | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/TabLayout#)From interface` `[android.view.accessibility.AccessibilityEventSource](https://developer.android.com/reference/android/view/accessibility/AccessibilityEventSource.html)` ` |------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` sendAccessibilityEvent(int arg0) `                                                                                                                         | | ` abstract void` | ` sendAccessibilityEventUnchecked(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) ` | ||

## XML attributes

### TabLayout_tabBackground

<br />

<br />

### TabLayout_tabContentStart

<br />

<br />

### TabLayout_tabGravity

<br />

<br />

**Related methods:**

- [setTabGravity(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabGravity(int))

### TabLayout_tabIndicatorColor

<br />

<br />

**Related methods:**

- [setSelectedTabIndicatorColor(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setSelectedTabIndicatorColor(int))

### TabLayout_tabIndicatorHeight

<br />

<br />

**Related methods:**

- [setSelectedTabIndicatorHeight(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setSelectedTabIndicatorHeight(int))

### TabLayout_tabMaxWidth

<br />

<br />

### TabLayout_tabMinWidth

<br />

<br />

### TabLayout_tabMode

<br />

<br />

**Related methods:**

- [setTabMode(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabMode(int))

### TabLayout_tabPadding

<br />

<br />

### TabLayout_tabPaddingBottom

<br />

<br />

### TabLayout_tabPaddingEnd

<br />

<br />

### TabLayout_tabPaddingStart

<br />

<br />

### TabLayout_tabPaddingTop

<br />

<br />

### TabLayout_tabSelectedTextColor

<br />

<br />

**Related methods:**

- [setTabTextColors(int,int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabTextColors(int, int))

### TabLayout_tabTextAppearance

<br />

<br />

### TabLayout_tabTextColor

<br />

<br />

**Related methods:**

- [setTabTextColors(int,int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabTextColors(int, int))

## Constants

### GRAVITY_CENTER

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int GRAVITY_CENTER
```

Gravity used to lay out the tabs in the center of the[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout).

<br />

**See also:**

- [setTabGravity(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabGravity(int))
- [getTabGravity()](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabGravity())

Constant Value: 1 (0x00000001)  

### GRAVITY_FILL

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int GRAVITY_FILL
```

Gravity used to fill the[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)as much as possible. This option only takes effect when used with[MODE_FIXED](https://developer.android.com/reference/android/support/design/widget/TabLayout#MODE_FIXED).

<br />

**See also:**

- [setTabGravity(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabGravity(int))
- [getTabGravity()](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabGravity())

Constant Value: 0 (0x00000000)  

### MODE_FIXED

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int MODE_FIXED
```

Fixed tabs display all tabs concurrently and are best used with content that benefits from quick pivots between tabs. The maximum number of tabs is limited by the view's width. Fixed tabs have equal width, based on the widest tab label.

<br />

**See also:**

- [setTabMode(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabMode(int))
- [getTabMode()](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabMode())

Constant Value: 1 (0x00000001)  

### MODE_SCROLLABLE

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int MODE_SCROLLABLE
```

Scrollable tabs display a subset of tabs at any given moment, and can contain longer tab labels and a larger number of tabs. They are best used for browsing contexts in touch interfaces when users don't need to directly compare the tab labels.

<br />

**See also:**

- [setTabMode(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabMode(int))
- [getTabMode()](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabMode())

Constant Value: 0 (0x00000000)

## Public constructors

### TabLayout

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
TabLayout (Context context)
```

<br />

<br />

|         Parameters          ||
|-----------|------------------|
| `context` | `Context` <br /> |

### TabLayout

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
TabLayout (Context context, 
                AttributeSet attrs)
```

<br />

<br />

|            Parameters            ||
|-----------|-----------------------|
| `context` | `Context` <br />      |
| `attrs`   | `AttributeSet` <br /> |

### TabLayout

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
TabLayout (Context context, 
                AttributeSet attrs, 
                int defStyleAttr)
```

<br />

<br />

|              Parameters               ||
|----------------|-----------------------|
| `context`      | `Context` <br />      |
| `attrs`        | `AttributeSet` <br /> |
| `defStyleAttr` | `int` <br />          |

## Public methods

### addOnTabSelectedListener

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addOnTabSelectedListener (TabLayout.OnTabSelectedListener listener)
```

Add a[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)that will be invoked when tab selection changes.

Components that add a listener should take care to remove it when finished via[removeOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#removeOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener)).

<br />

<br />

|                              Parameters                               ||
|------------|-----------------------------------------------------------|
| `listener` | `TabLayout.OnTabSelectedListener`: listener to add <br /> |

### addTab

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addTab (TabLayout.Tab tab, 
                boolean setSelected)
```

Add a tab to this layout. The tab will be added at the end of the list.

<br />

|                                       Parameters                                       ||
|---------------|-------------------------------------------------------------------------|
| `tab`         | `TabLayout.Tab`: Tab to add <br />                                      |
| `setSelected` | `boolean`: True if the added tab should become the selected tab. <br /> |

### addTab

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addTab (TabLayout.Tab tab, 
                int position)
```

Add a tab to this layout. The tab will be inserted at`position`. If this is the first tab to be added it will become the selected tab.

<br />

|                      Parameters                       ||
|------------|-------------------------------------------|
| `tab`      | `TabLayout.Tab`: The tab to add <br />    |
| `position` | `int`: The new position of the tab <br /> |

### addTab

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addTab (TabLayout.Tab tab)
```

Add a tab to this layout. The tab will be added at the end of the list. If this is the first tab to be added it will become the selected tab.

<br />

|                Parameters                 ||
|-------|------------------------------------|
| `tab` | `TabLayout.Tab`: Tab to add <br /> |

### addTab

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addTab (TabLayout.Tab tab, 
                int position, 
                boolean setSelected)
```

Add a tab to this layout. The tab will be inserted at`position`.

<br />

|                                       Parameters                                       ||
|---------------|-------------------------------------------------------------------------|
| `tab`         | `TabLayout.Tab`: The tab to add <br />                                  |
| `position`    | `int`: The new position of the tab <br />                               |
| `setSelected` | `boolean`: True if the added tab should become the selected tab. <br /> |

### addView

```
void addView (View child, 
                int index)
```

<br />

<br />

|       Parameters       ||
|---------|---------------|
| `child` | `View` <br /> |
| `index` | `int` <br />  |

### addView

```
void addView (View child)
```

<br />

<br />

|       Parameters       ||
|---------|---------------|
| `child` | `View` <br /> |

### addView

```
void addView (View child, 
                ViewGroup.LayoutParams params)
```

<br />

<br />

|                Parameters                 ||
|----------|---------------------------------|
| `child`  | `View` <br />                   |
| `params` | `ViewGroup.LayoutParams` <br /> |

### addView

```
void addView (View child, 
                int index, 
                ViewGroup.LayoutParams params)
```

<br />

<br />

|                Parameters                 ||
|----------|---------------------------------|
| `child`  | `View` <br />                   |
| `index`  | `int` <br />                    |
| `params` | `ViewGroup.LayoutParams` <br /> |

### clearOnTabSelectedListeners

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void clearOnTabSelectedListeners ()
```

Remove all previously added[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)s.

<br />

### generateLayoutParams

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
FrameLayout.LayoutParams generateLayoutParams (AttributeSet attrs)
```

<br />

<br />

|           Parameters           ||
|---------|-----------------------|
| `attrs` | `AttributeSet` <br /> |

|                                                         Returns                                                          ||
|------------------------------------------------------------------------------------------------------------------|--------|
| [FrameLayout.LayoutParams](https://developer.android.com/reference/android/widget/FrameLayout.LayoutParams.html) | <br /> |

### getSelectedTabPosition

added in[version 23.4.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getSelectedTabPosition ()
```

Returns the position of the current selected tab.

<br />

|                                  Returns                                  ||
|-------|--------------------------------------------------------------------|
| `int` | selected tab position, or`-1`if there isn't a selected tab. <br /> |

### getTabAt

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
TabLayout.Tab getTabAt (int index)
```

Returns the tab at the specified index.

<br />

|      Parameters       ||
|---------|--------------|
| `index` | `int` <br /> |

|                                                   Returns                                                    ||
|------------------------------------------------------------------------------------------------------|--------|
| [TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab) | <br /> |

### getTabCount

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getTabCount ()
```

Returns the number of tabs currently registered with the action bar.

<br />

|         Returns         ||
|-------|------------------|
| `int` | Tab count <br /> |

### getTabGravity

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getTabGravity ()
```

The current gravity used for laying out tabs.

<br />

|                                                                                                                       Returns                                                                                                                       ||
|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | one of[GRAVITY_CENTER](https://developer.android.com/reference/android/support/design/widget/TabLayout#GRAVITY_CENTER)or[GRAVITY_FILL](https://developer.android.com/reference/android/support/design/widget/TabLayout#GRAVITY_FILL). <br /> |

### getTabMode

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getTabMode ()
```

Returns the current mode used by this[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout).

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

**See also:**

- [setTabMode(int)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setTabMode(int))  

### getTabTextColors

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
ColorStateList getTabTextColors ()
```

Gets the text colors for the different states (normal, selected) used for the tabs.

<br />

|                                                  Returns                                                  ||
|---------------------------------------------------------------------------------------------------|--------|
| [ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html) | <br /> |

### newTab

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
TabLayout.Tab newTab ()
```

Create and return a new[TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab). You need to manually add this using[addTab(Tab)](https://developer.android.com/reference/android/support/design/widget/TabLayout#addTab(android.support.design.widget.TabLayout.Tab))or a related method.

<br />

|                                                        Returns                                                         ||
|------------------------------------------------------------------------------------------------------|------------------|
| [TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab) | A new Tab <br /> |

**See also:**

- [addTab(Tab)](https://developer.android.com/reference/android/support/design/widget/TabLayout#addTab(android.support.design.widget.TabLayout.Tab))  

### removeAllTabs

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeAllTabs ()
```

Remove all tabs from the action bar and deselect the current tab.

<br />

### removeOnTabSelectedListener

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeOnTabSelectedListener (TabLayout.OnTabSelectedListener listener)
```

Remove the given[TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)that was previously added via[addOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#addOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener)).

<br />

|                                Parameters                                ||
|------------|--------------------------------------------------------------|
| `listener` | `TabLayout.OnTabSelectedListener`: listener to remove <br /> |

### removeTab

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeTab (TabLayout.Tab tab)
```

Remove a tab from the layout. If the removed tab was selected it will be deselected and another tab will be selected if present.

<br />

|                    Parameters                    ||
|-------|-------------------------------------------|
| `tab` | `TabLayout.Tab`: The tab to remove <br /> |

### removeTabAt

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeTabAt (int position)
```

Remove a tab from the layout. If the removed tab was selected it will be deselected and another tab will be selected if present.

<br />

|                       Parameters                        ||
|------------|---------------------------------------------|
| `position` | `int`: Position of the tab to remove <br /> |

### setOnTabSelectedListener

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setOnTabSelectedListener (TabLayout.OnTabSelectedListener listener)
```

<br />

**This method was deprecated in API level 26.1.0.**   
Use[addOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#addOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener))and[removeOnTabSelectedListener(OnTabSelectedListener)](https://developer.android.com/reference/android/support/design/widget/TabLayout#removeOnTabSelectedListener(android.support.design.widget.TabLayout.OnTabSelectedListener)).

<br />

<br />

|                      Parameters                      ||
|------------|------------------------------------------|
| `listener` | `TabLayout.OnTabSelectedListener` <br /> |

### setScrollPosition

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setScrollPosition (int position, 
                float positionOffset, 
                boolean updateSelectedText)
```

Set the scroll position of the tabs. This is useful for when the tabs are being displayed as part of a scrolling container such as[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager).

Calling this method does not update the selected tab, it is only used for drawing purposes.

<br />

|                                           Parameters                                           ||
|----------------------|--------------------------------------------------------------------------|
| `position`           | `int`: current scroll position <br />                                    |
| `positionOffset`     | `float`: Value from \[0, 1) indicating the offset from`position`. <br /> |
| `updateSelectedText` | `boolean`: Whether to update the text's selected state. <br />           |

### setSelectedTabIndicatorColor

added in[version 23.4.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setSelectedTabIndicatorColor (int color)
```

Sets the tab indicator's color for the currently selected tab.

<br />

**Related XML Attributes:**

- [TabLayout_tabIndicatorColor](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabIndicatorColor)

|                      Parameters                       ||
|---------|----------------------------------------------|
| `color` | `int`: color to use for the indicator <br /> |

### setSelectedTabIndicatorHeight

added in[version 23.4.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setSelectedTabIndicatorHeight (int height)
```

Sets the tab indicator's height for the currently selected tab.

<br />

**Related XML Attributes:**

- [TabLayout_tabIndicatorHeight](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabIndicatorHeight)

|                            Parameters                             ||
|----------|---------------------------------------------------------|
| `height` | `int`: height to use for the indicator in pixels <br /> |

### setTabGravity

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setTabGravity (int gravity)
```

Set the gravity to use when laying out the tabs.

<br />

**Related XML Attributes:**

- [TabLayout_tabGravity](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabGravity)

|                                                                                                                           Parameters                                                                                                                           ||
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `gravity` | `int`: one of[GRAVITY_CENTER](https://developer.android.com/reference/android/support/design/widget/TabLayout#GRAVITY_CENTER)or[GRAVITY_FILL](https://developer.android.com/reference/android/support/design/widget/TabLayout#GRAVITY_FILL). <br /> |

### setTabMode

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setTabMode (int mode)
```

Set the behavior mode for the Tabs in this layout. The valid input options are:

- [MODE_FIXED](https://developer.android.com/reference/android/support/design/widget/TabLayout#MODE_FIXED): Fixed tabs display all tabs concurrently and are best used with content that benefits from quick pivots between tabs.
- [MODE_SCROLLABLE](https://developer.android.com/reference/android/support/design/widget/TabLayout#MODE_SCROLLABLE): Scrollable tabs display a subset of tabs at any given moment, and can contain longer tab labels and a larger number of tabs. They are best used for browsing contexts in touch interfaces when users don't need to directly compare the tab labels. This mode is commonly used with a[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager).

<br />

<br />

**Related XML Attributes:**

- [TabLayout_tabMode](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabMode)

|                                                                                                                        Parameters                                                                                                                         ||
|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `mode` | `int`: one of[MODE_FIXED](https://developer.android.com/reference/android/support/design/widget/TabLayout#MODE_FIXED)or[MODE_SCROLLABLE](https://developer.android.com/reference/android/support/design/widget/TabLayout#MODE_SCROLLABLE). <br /> |

### setTabTextColors

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setTabTextColors (int normalColor, 
                int selectedColor)
```

Sets the text colors for the different states (normal, selected) used for the tabs.

<br />

**Related XML Attributes:**

- [TabLayout_tabTextColor](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabTextColor)
- [TabLayout_tabSelectedTextColor](https://developer.android.com/reference/android/support/design/widget/TabLayout#attr_TabLayout_tabSelectedTextColor)

|          Parameters           ||
|-----------------|--------------|
| `normalColor`   | `int` <br /> |
| `selectedColor` | `int` <br /> |

### setTabTextColors

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setTabTextColors (ColorStateList textColor)
```

Sets the text colors for the different states (normal, selected) used for the tabs.

<br />

|              Parameters              ||
|-------------|-------------------------|
| `textColor` | `ColorStateList` <br /> |

**See also:**

- [getTabTextColors()](https://developer.android.com/reference/android/support/design/widget/TabLayout#getTabTextColors())  

### setTabsFromPagerAdapter

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setTabsFromPagerAdapter (PagerAdapter adapter)
```

<br />

**This method was deprecated in API level 23.4.0.**   
Use[setupWithViewPager(ViewPager)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setupWithViewPager(android.support.v4.view.ViewPager))to link a TabLayout with a ViewPager together. When that method is used, the TabLayout will be automatically updated when the[PagerAdapter](https://developer.android.com/reference/android/support/v4/view/PagerAdapter)is changed.

<br />

<br />

|            Parameters            ||
|-----------|-----------------------|
| `adapter` | `PagerAdapter` <br /> |

### setupWithViewPager

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setupWithViewPager (ViewPager viewPager, 
                boolean autoRefresh)
```

The one-stop shop for setting up this[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)with a[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager).

This method will link the given ViewPager and this TabLayout together so that changes in one are automatically reflected in the other. This includes scroll state changes and clicks. The tabs displayed in this layout will be populated from the ViewPager adapter's page titles.

If`autoRefresh`is`true`, any changes in the[PagerAdapter](https://developer.android.com/reference/android/support/v4/view/PagerAdapter)will trigger this layout to re-populate itself from the adapter's titles.

If the given ViewPager is non-null, it needs to already have a[PagerAdapter](https://developer.android.com/reference/android/support/v4/view/PagerAdapter)set.

<br />

<br />

|                                                        Parameters                                                         ||
|---------------|------------------------------------------------------------------------------------------------------------|
| `viewPager`   | `ViewPager`: the ViewPager to link to, or`null`to clear any previous link <br />                           |
| `autoRefresh` | `boolean`: whether this layout should refresh its contents if the given ViewPager's content changes <br /> |

### setupWithViewPager

added in[version 22.2.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setupWithViewPager (ViewPager viewPager)
```

The one-stop shop for setting up this[TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)with a[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager).

This is the same as calling[setupWithViewPager(ViewPager, boolean)](https://developer.android.com/reference/android/support/design/widget/TabLayout#setupWithViewPager(android.support.v4.view.ViewPager, boolean))with auto-refresh enabled.

<br />

<br />

|                                          Parameters                                           ||
|-------------|----------------------------------------------------------------------------------|
| `viewPager` | `ViewPager`: the ViewPager to link to, or`null`to clear any previous link <br /> |

### shouldDelayChildPressedState

```
boolean shouldDelayChildPressedState ()
```

<br />

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

## Protected methods

### onAttachedToWindow

```
void onAttachedToWindow ()
```

<br />

<br />

### onDetachedFromWindow

```
void onDetachedFromWindow ()
```

<br />

<br />

### onMeasure

```
void onMeasure (int widthMeasureSpec, 
                int heightMeasureSpec)
```

<br />

<br />

|            Parameters             ||
|---------------------|--------------|
| `widthMeasureSpec`  | `int` <br /> |
| `heightMeasureSpec` | `int` <br /> |

-

  ## Annotations

  - [CoordinatorLayout.DefaultBehavior](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.DefaultBehavior)
-

  ## Interfaces

  - [AppBarLayout.OnOffsetChangedListener](https://developer.android.com/reference/android/support/design/widget/AppBarLayout.OnOffsetChangedListener)
  - [BaseTransientBottomBar.ContentViewCallback](https://developer.android.com/reference/android/support/design/widget/BaseTransientBottomBar.ContentViewCallback)
  - [BottomNavigationView.OnNavigationItemReselectedListener](https://developer.android.com/reference/android/support/design/widget/BottomNavigationView.OnNavigationItemReselectedListener)
  - [BottomNavigationView.OnNavigationItemSelectedListener](https://developer.android.com/reference/android/support/design/widget/BottomNavigationView.OnNavigationItemSelectedListener)
  - [CoordinatorLayout.AttachedBehavior](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.AttachedBehavior)
  - [NavigationView.OnNavigationItemSelectedListener](https://developer.android.com/reference/android/support/design/widget/NavigationView.OnNavigationItemSelectedListener)
  - [SwipeDismissBehavior.OnDismissListener](https://developer.android.com/reference/android/support/design/widget/SwipeDismissBehavior.OnDismissListener)
  - [TabLayout.OnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.OnTabSelectedListener)
-

  ## Classes

  - [AppBarLayout](https://developer.android.com/reference/android/support/design/widget/AppBarLayout)
  - [AppBarLayout.Behavior](https://developer.android.com/reference/android/support/design/widget/AppBarLayout.Behavior)
  - [AppBarLayout.Behavior.DragCallback](https://developer.android.com/reference/android/support/design/widget/AppBarLayout.Behavior.DragCallback)
  - [AppBarLayout.Behavior.SavedState](https://developer.android.com/reference/android/support/design/widget/AppBarLayout.Behavior.SavedState)
  - [AppBarLayout.LayoutParams](https://developer.android.com/reference/android/support/design/widget/AppBarLayout.LayoutParams)
  - [AppBarLayout.ScrollingViewBehavior](https://developer.android.com/reference/android/support/design/widget/AppBarLayout.ScrollingViewBehavior)
  - [BaseTransientBottomBar](https://developer.android.com/reference/android/support/design/widget/BaseTransientBottomBar)
  - [BaseTransientBottomBar.BaseCallback](https://developer.android.com/reference/android/support/design/widget/BaseTransientBottomBar.BaseCallback)
  - [BottomNavigationView](https://developer.android.com/reference/android/support/design/widget/BottomNavigationView)
  - [BottomSheetBehavior](https://developer.android.com/reference/android/support/design/widget/BottomSheetBehavior)
  - [BottomSheetBehavior.BottomSheetCallback](https://developer.android.com/reference/android/support/design/widget/BottomSheetBehavior.BottomSheetCallback)
  - [BottomSheetBehavior.SavedState](https://developer.android.com/reference/android/support/design/widget/BottomSheetBehavior.SavedState)
  - [BottomSheetDialog](https://developer.android.com/reference/android/support/design/widget/BottomSheetDialog)
  - [BottomSheetDialogFragment](https://developer.android.com/reference/android/support/design/widget/BottomSheetDialogFragment)
  - [CollapsingToolbarLayout](https://developer.android.com/reference/android/support/design/widget/CollapsingToolbarLayout)
  - [CollapsingToolbarLayout.LayoutParams](https://developer.android.com/reference/android/support/design/widget/CollapsingToolbarLayout.LayoutParams)
  - [CoordinatorLayout](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout)
  - [CoordinatorLayout.Behavior](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.Behavior)
  - [CoordinatorLayout.LayoutParams](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.LayoutParams)
  - [CoordinatorLayout.SavedState](https://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.SavedState)
  - [FloatingActionButton](https://developer.android.com/reference/android/support/design/widget/FloatingActionButton)
  - [FloatingActionButton.Behavior](https://developer.android.com/reference/android/support/design/widget/FloatingActionButton.Behavior)
  - [FloatingActionButton.OnVisibilityChangedListener](https://developer.android.com/reference/android/support/design/widget/FloatingActionButton.OnVisibilityChangedListener)
  - [NavigationView](https://developer.android.com/reference/android/support/design/widget/NavigationView)
  - [NavigationView.SavedState](https://developer.android.com/reference/android/support/design/widget/NavigationView.SavedState)
  - [Snackbar](https://developer.android.com/reference/android/support/design/widget/Snackbar)
  - [Snackbar.Callback](https://developer.android.com/reference/android/support/design/widget/Snackbar.Callback)
  - [SwipeDismissBehavior](https://developer.android.com/reference/android/support/design/widget/SwipeDismissBehavior)
  - [TabItem](https://developer.android.com/reference/android/support/design/widget/TabItem)
  - [TabLayout](https://developer.android.com/reference/android/support/design/widget/TabLayout)
  - [TabLayout.Tab](https://developer.android.com/reference/android/support/design/widget/TabLayout.Tab)
  - [TabLayout.TabLayoutOnPageChangeListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.TabLayoutOnPageChangeListener)
  - [TabLayout.ViewPagerOnTabSelectedListener](https://developer.android.com/reference/android/support/design/widget/TabLayout.ViewPagerOnTabSelectedListener)
  - [TextInputEditText](https://developer.android.com/reference/android/support/design/widget/TextInputEditText)
  - [TextInputLayout](https://developer.android.com/reference/android/support/design/widget/TextInputLayout)