# NavigationView

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/NavigationView#nestedclasses)\|[XML Attrs](https://developer.android.com/reference/android/support/design/widget/NavigationView#lattrs)\|[Inherited Constants](https://developer.android.com/reference/android/support/design/widget/NavigationView#inhconstants)\|[Inherited Fields](https://developer.android.com/reference/android/support/design/widget/NavigationView#inhfields)\|[Ctors](https://developer.android.com/reference/android/support/design/widget/NavigationView#pubctors)\|[Methods](https://developer.android.com/reference/android/support/design/widget/NavigationView#pubmethods)\|[Protected Methods](https://developer.android.com/reference/android/support/design/widget/NavigationView#promethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/design/widget/NavigationView#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/design/widget/NavigationView#)  

# NavigationView

| 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
NavigationView
`  
`


``


``


``

extends `[FrameLayout](https://developer.android.com/reference/android/widget/FrameLayout.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.support.design.widget.NavigationView |

<br />

*** ** * ** ***

Represents a standard navigation menu for application. The menu contents can be populated by a menu resource file.

NavigationView is typically placed inside a[DrawerLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout).  

```
 <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:id="@+id/drawer_layout"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true">

     <!-- Your contents -->

     <android.support.design.widget.NavigationView
         android:id="@+id/navigation"
         android:layout_width="wrap_content"
         android:layout_height="match_parent"
         android:layout_gravity="start"
         app:menu="@menu/my_navigation_items" />
 </android.support.v4.widget.DrawerLayout>
 
```

<br />

## Summary

|                                                                                                            ### Nested classes                                                                                                            ||
|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` interface` | [NavigationView.OnNavigationItemSelectedListener](https://developer.android.com/reference/android/support/design/widget/NavigationView.OnNavigationItemSelectedListener) Listener for handling events on navigation items. |
| ` class`     | [NavigationView.SavedState](https://developer.android.com/reference/android/support/design/widget/NavigationView.SavedState) User interface state that is stored by NavigationView for implementing onSaveInstanceState(). |

|                                                                          ### XML attributes                                                                           ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [`NavigationView_itemBackground`](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemBackground)         |   |
| [`NavigationView_itemIconTint`](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemIconTint)             |   |
| [`NavigationView_itemTextAppearance`](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemTextAppearance) |   |
| [`NavigationView_itemTextColor`](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemTextColor)           |   |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/NavigationView#)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/NavigationView#)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/NavigationView#)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                                                                                                                                                                                        ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[NavigationView](https://developer.android.com/reference/android/support/design/widget/NavigationView#NavigationView(android.content.Context))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context) `                                                                                                                                                   |
| ` `[NavigationView](https://developer.android.com/reference/android/support/design/widget/NavigationView#NavigationView(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) `                        |
| ` `[NavigationView](https://developer.android.com/reference/android/support/design/widget/NavigationView#NavigationView(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`                                                                                              | ` `[addHeaderView](https://developer.android.com/reference/android/support/design/widget/NavigationView#addHeaderView(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Adds a View as a header of the navigation menu.                                                                                                                                                                                                                              |
| ` void`                                                                                              | ` `[draw](https://developer.android.com/reference/android/support/design/widget/NavigationView#draw(android.graphics.Canvas))`(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` canvas) `                                                                                                                                                                                                                                                                                |
| ` int`                                                                                               | ` `[getHeaderCount](https://developer.android.com/reference/android/support/design/widget/NavigationView#getHeaderCount())`() ` Gets the number of headers in this NavigationView.                                                                                                                                                                                                                                                                                                                       |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                            | ` `[getHeaderView](https://developer.android.com/reference/android/support/design/widget/NavigationView#getHeaderView(int))`(int index) ` Gets the header view at the specified position.                                                                                                                                                                                                                                                                                                                |
| ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)       | ` `[getItemBackground](https://developer.android.com/reference/android/support/design/widget/NavigationView#getItemBackground())`() ` Returns the background drawable for our menu items.                                                                                                                                                                                                                                                                                                                |
| ` `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html) | ` `[getItemIconTintList](https://developer.android.com/reference/android/support/design/widget/NavigationView#getItemIconTintList())`() ` Returns the tint which is applied to our menu items' icons.                                                                                                                                                                                                                                                                                                    |
| ` `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html) | ` `[getItemTextColor](https://developer.android.com/reference/android/support/design/widget/NavigationView#getItemTextColor())`() ` Returns the tint which is applied to our menu items' icons.                                                                                                                                                                                                                                                                                                          |
| ` `[Menu](https://developer.android.com/reference/android/view/Menu.html)                            | ` `[getMenu](https://developer.android.com/reference/android/support/design/widget/NavigationView#getMenu())`() ` Returns the[Menu](https://developer.android.com/reference/android/view/Menu.html)instance associated with this navigation view.                                                                                                                                                                                                                                                        |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                            | ` `[inflateHeaderView](https://developer.android.com/reference/android/support/design/widget/NavigationView#inflateHeaderView(int))`(int res) ` Inflates a View and add it as a header of the navigation menu.                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                              | ` `[inflateMenu](https://developer.android.com/reference/android/support/design/widget/NavigationView#inflateMenu(int))`(int resId) ` Inflate a menu resource into this navigation view.                                                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                              | ` `[removeHeaderView](https://developer.android.com/reference/android/support/design/widget/NavigationView#removeHeaderView(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Removes a previously-added header view.                                                                                                                                                                                                                                |
| ` void`                                                                                              | ` `[setCheckedItem](https://developer.android.com/reference/android/support/design/widget/NavigationView#setCheckedItem(int))`(int id) ` Sets the currently checked item in this navigation menu.                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                              | ` `[setItemBackground](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemBackground(android.graphics.drawable.Drawable))`(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` itemBackground) ` Set the background of our menu items to a given resource.                                                                                                                                                            |
| ` void`                                                                                              | ` `[setItemBackgroundResource](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemBackgroundResource(int))`(int resId) ` Set the background of our menu items to the given resource.                                                                                                                                                                                                                                                                            |
| ` void`                                                                                              | ` `[setItemIconTintList](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemIconTintList(android.content.res.ColorStateList))`(`[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` tint) ` Set the tint which is applied to our menu items' icons.                                                                                                                                                              |
| ` void`                                                                                              | ` `[setItemTextAppearance](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemTextAppearance(int))`(int resId) ` Set the text appearance of the menu items to a given resource.                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                              | ` `[setItemTextColor](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemTextColor(android.content.res.ColorStateList))`(`[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` textColor) ` Set the text color to be used on our menu items.                                                                                                                                                                      |
| ` void`                                                                                              | ` `[setNavigationItemSelectedListener](https://developer.android.com/reference/android/support/design/widget/NavigationView#setNavigationItemSelectedListener(android.support.design.widget.NavigationView.OnNavigationItemSelectedListener))`(`[NavigationView.OnNavigationItemSelectedListener](https://developer.android.com/reference/android/support/design/widget/NavigationView.OnNavigationItemSelectedListener)` listener) ` Set a listener that will be notified when a menu item is selected. |

|                                                                                                                                                                               ### Protected methods                                                                                                                                                                               ||
|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void`                                                                             | ` `[onAttachedToWindow](https://developer.android.com/reference/android/support/design/widget/NavigationView#onAttachedToWindow())`() `                                                                                                                                                      |
| ` void`                                                                             | ` `[onDetachedFromWindow](https://developer.android.com/reference/android/support/design/widget/NavigationView#onDetachedFromWindow())`() `                                                                                                                                                  |
| ` void`                                                                             | ` `[onInsetsChanged](https://developer.android.com/reference/android/support/design/widget/NavigationView#onInsetsChanged(android.support.v4.view.WindowInsetsCompat))`(`[WindowInsetsCompat](https://developer.android.com/reference/android/support/v4/view/WindowInsetsCompat)` insets) ` |
| ` void`                                                                             | ` `[onMeasure](https://developer.android.com/reference/android/support/design/widget/NavigationView#onMeasure(int, int))`(int widthSpec, int heightSpec) `                                                                                                                                   |
| ` void`                                                                             | ` `[onRestoreInstanceState](https://developer.android.com/reference/android/support/design/widget/NavigationView#onRestoreInstanceState(android.os.Parcelable))`(`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` savedState) `                            |
| ` `[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) | ` `[onSaveInstanceState](https://developer.android.com/reference/android/support/design/widget/NavigationView#onSaveInstanceState())`() `                                                                                                                                                    |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/design/widget/NavigationView#)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/NavigationView#)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/NavigationView#)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/NavigationView#)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/NavigationView#)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/NavigationView#)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/NavigationView#)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/NavigationView#)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/NavigationView#)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

### NavigationView_itemBackground

<br />

<br />

**Related methods:**

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

### NavigationView_itemIconTint

<br />

<br />

**Related methods:**

- [setItemIconTintList(ColorStateList)](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemIconTintList(android.content.res.ColorStateList))

### NavigationView_itemTextAppearance

<br />

<br />

**Related methods:**

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

### NavigationView_itemTextColor

<br />

<br />

**Related methods:**

- [setItemTextColor(ColorStateList)](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemTextColor(android.content.res.ColorStateList))

## Public constructors

### NavigationView

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

```
NavigationView (Context context)
```

<br />

<br />

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

### NavigationView

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

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

<br />

<br />

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

### NavigationView

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

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

<br />

<br />

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

## Public methods

### addHeaderView

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

```
void addHeaderView (View view)
```

Adds a View as a header of the navigation menu.

<br />

|                                   Parameters                                    ||
|--------|-------------------------------------------------------------------------|
| `view` | `View`: The view to be added as a header of the navigation menu. <br /> |

### draw

```
void draw (Canvas canvas)
```

<br />

<br />

|        Parameters         ||
|----------|-----------------|
| `canvas` | `Canvas` <br /> |

### getHeaderCount

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

```
int getHeaderCount ()
```

Gets the number of headers in this NavigationView.

<br />

|                               Returns                                ||
|-------|---------------------------------------------------------------|
| `int` | A positive integer representing the number of headers. <br /> |

### getHeaderView

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

```
View getHeaderView (int index)
```

Gets the header view at the specified position.

<br />

|                             Parameters                             ||
|---------|-----------------------------------------------------------|
| `index` | `int`: The position at which to get the view from. <br /> |

|                                                                                       Returns                                                                                        ||
|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | The header view the specified position or null if the position does not exist in this NavigationView. <br /> |

### getItemBackground

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

```
Drawable getItemBackground ()
```

Returns the background drawable for our menu items.

<br />

**Related XML Attributes:**

- [NavigationView_itemBackground](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemBackground)

|                                               Returns                                               ||
|---------------------------------------------------------------------------------------------|--------|
| [Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html) | <br /> |

**See also:**

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

### getItemIconTintList

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

```
ColorStateList getItemIconTintList ()
```

Returns the tint which is applied to our menu items' icons.

<br />

**Related XML Attributes:**

- [NavigationView_itemIconTint](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemIconTint)

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

**See also:**

- [setItemIconTintList(ColorStateList)](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemIconTintList(android.content.res.ColorStateList))  

### getItemTextColor

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

```
ColorStateList getItemTextColor ()
```

Returns the tint which is applied to our menu items' icons.

<br />

**Related XML Attributes:**

- [NavigationView_itemTextColor](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemTextColor)

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

**See also:**

- [setItemTextColor(ColorStateList)](https://developer.android.com/reference/android/support/design/widget/NavigationView#setItemTextColor(android.content.res.ColorStateList))  

### getMenu

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

```
Menu getMenu ()
```

Returns the[Menu](https://developer.android.com/reference/android/view/Menu.html)instance associated with this navigation view.

<br />

|                                    Returns                                     ||
|------------------------------------------------------------------------|--------|
| [Menu](https://developer.android.com/reference/android/view/Menu.html) | <br /> |

### inflateHeaderView

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

```
View inflateHeaderView (int res)
```

Inflates a View and add it as a header of the navigation menu.

<br />

|                  Parameters                  ||
|-------|---------------------------------------|
| `res` | `int`: The layout resource ID. <br /> |

|                                                Returns                                                ||
|------------------------------------------------------------------------|-------------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | a newly inflated View. <br /> |

### inflateMenu

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

```
void inflateMenu (int resId)
```

Inflate a menu resource into this navigation view.

Existing items in the menu will not be modified or removed.

<br />

<br />

|                       Parameters                        ||
|---------|------------------------------------------------|
| `resId` | `int`: ID of a menu resource to inflate <br /> |

### removeHeaderView

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

```
void removeHeaderView (View view)
```

Removes a previously-added header view.

<br />

|                Parameters                 ||
|--------|-----------------------------------|
| `view` | `View`: The view to remove <br /> |

### setCheckedItem

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

```
void setCheckedItem (int id)
```

Sets the currently checked item in this navigation menu.

<br />

|                           Parameters                           ||
|------|----------------------------------------------------------|
| `id` | `int`: The item ID of the currently checked item. <br /> |

### setItemBackground

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

```
void setItemBackground (Drawable itemBackground)
```

Set the background of our menu items to a given resource. The resource should refer to a Drawable object or null to use the default background set on this navigation menu.

<br />

**Related XML Attributes:**

- [NavigationView_itemBackground](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemBackground)

|             Parameters              ||
|------------------|-------------------|
| `itemBackground` | `Drawable` <br /> |

### setItemBackgroundResource

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

```
void setItemBackgroundResource (int resId)
```

Set the background of our menu items to the given resource.

<br />

**Related XML Attributes:**

- [NavigationView_itemBackground](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemBackground)

|                       Parameters                       ||
|---------|-----------------------------------------------|
| `resId` | `int`: The identifier of the resource. <br /> |

### setItemIconTintList

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

```
void setItemIconTintList (ColorStateList tint)
```

Set the tint which is applied to our menu items' icons.

<br />

**Related XML Attributes:**

- [NavigationView_itemIconTint](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemIconTint)

|                     Parameters                      ||
|--------|---------------------------------------------|
| `tint` | `ColorStateList`: the tint to apply. <br /> |

### setItemTextAppearance

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

```
void setItemTextAppearance (int resId)
```

Set the text appearance of the menu items to a given resource.

<br />

**Related XML Attributes:**

- [NavigationView_itemTextAppearance](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemTextAppearance)

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

### setItemTextColor

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

```
void setItemTextColor (ColorStateList textColor)
```

Set the text color to be used on our menu items.

<br />

**Related XML Attributes:**

- [NavigationView_itemTextColor](https://developer.android.com/reference/android/support/design/widget/NavigationView#attr_NavigationView_itemTextColor)

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

**See also:**

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

### setNavigationItemSelectedListener

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

```
void setNavigationItemSelectedListener (NavigationView.OnNavigationItemSelectedListener listener)
```

Set a listener that will be notified when a menu item is selected.

<br />

|                                          Parameters                                          ||
|------------|----------------------------------------------------------------------------------|
| `listener` | `NavigationView.OnNavigationItemSelectedListener`: The listener to notify <br /> |

## Protected methods

### onAttachedToWindow

```
void onAttachedToWindow ()
```

<br />

<br />

### onDetachedFromWindow

```
void onDetachedFromWindow ()
```

<br />

<br />

### onInsetsChanged

```
void onInsetsChanged (WindowInsetsCompat insets)
```

<br />

<br />

|              Parameters               ||
|----------|-----------------------------|
| `insets` | `WindowInsetsCompat` <br /> |

### onMeasure

```
void onMeasure (int widthSpec, 
                int heightSpec)
```

<br />

<br />

|         Parameters         ||
|--------------|--------------|
| `widthSpec`  | `int` <br /> |
| `heightSpec` | `int` <br /> |

### onRestoreInstanceState

```
void onRestoreInstanceState (Parcelable savedState)
```

<br />

<br />

|            Parameters             ||
|--------------|---------------------|
| `savedState` | `Parcelable` <br /> |

### onSaveInstanceState

```
Parcelable onSaveInstanceState ()
```

<br />

<br />

|                                         Returns                                          ||
|----------------------------------------------------------------------------------|--------|
| [Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) | <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)