# DrawerLayout

added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)   
belongs to Maven artifact com.android.support:drawerlayout:28.0.0-alpha1  
Summary: [Nested Classes](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#nestedclasses) \| [Constants](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#constants) \| [Inherited Constants](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#inhconstants) \| [Inherited Fields](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#inhfields) \| [Ctors](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#pubctors) \| [Methods](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#pubmethods) \| [Protected Methods](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#promethods) \| [Inherited Methods](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#inhmethods) \| [\[Expand All\]](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#)  

# DrawerLayout

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


`


`

`


`

`

extends `[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.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.support.v4.widget.DrawerLayout |

<br />

*** ** * ** ***

DrawerLayout acts as a top-level container for window content that allows for
interactive "drawer" views to be pulled out from one or both vertical edges of the window.

Drawer positioning and layout is controlled using the `android:layout_gravity`
attribute on child views corresponding to which side of the view you want the drawer
to emerge from: left or right (or start/end on platform versions that support layout direction.)
Note that you can only have one drawer view for each vertical edge of the window. If your
layout configures more than one drawer view per vertical edge of the window, an exception will
be thrown at runtime.

To use a DrawerLayout, position your primary content view as the first child with
width and height of `match_parent` and no `layout_gravity>`.
Add drawers as child views after the main content view and set the `layout_gravity`
appropriately. Drawers commonly use `match_parent` for height with a fixed width.

[DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener) can be used to monitor the state and motion of drawer views.
Avoid performing expensive operations such as layout during animation as it can cause
stuttering; try to perform expensive operations during the [STATE_IDLE](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#STATE_IDLE) state.
[DrawerLayout.SimpleDrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.SimpleDrawerListener) offers default/no-op implementations of each callback method.

As per the [Android Design
guide](https://developer.android.com/design/patterns/navigation-drawer), any drawers positioned to the left/start should
always contain content for navigating around the application, whereas any drawers
positioned to the right/end should always contain actions to take on the current content.
This preserves the same navigation left, actions right structure present in the Action Bar
and elsewhere.

For more information about how to use DrawerLayout, read [Creating a Navigation
Drawer](https://developer.android.com/training/implementing-navigation/nav-drawer).

<br />

## Summary

|                                                                                                                                                        ### Nested classes                                                                                                                                                         ||
|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` interface` | [DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener) Listener for monitoring events about drawers.                                                                                                                                          |
| ` class`     | [DrawerLayout.LayoutParams](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.LayoutParams)                                                                                                                                                                                            |
| ` class`     | [DrawerLayout.SavedState](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.SavedState) State persisted across instances                                                                                                                                                               |
| ` class`     | [DrawerLayout.SimpleDrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.SimpleDrawerListener) Stub/no-op implementations of all methods of [DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener). |

|                                                                                           ### Constants                                                                                           ||
|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED) The drawer is locked closed.                             |
| `int` | [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN) The drawer is locked open.                                   |
| `int` | [LOCK_MODE_UNDEFINED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNDEFINED) The drawer's lock state is reset to default.                     |
| `int` | [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED) The drawer is unlocked.                                            |
| `int` | [STATE_DRAGGING](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#STATE_DRAGGING) Indicates that a drawer is currently being dragged by the user.            |
| `int` | [STATE_IDLE](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#STATE_IDLE) Indicates that any drawers are in an idle, settled state.                          |
| `int` | [STATE_SETTLING](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#STATE_SETTLING) Indicates that a drawer is in the process of settling to a final position. |

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

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ### Inherited fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#)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`                                                     | | ` protected static final int[]`                                                                                                                                                          | `EMPTY_STATE_SET`                                           | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_SELECTED_STATE_SET`                        | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET`         | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_STATE_SET`                                 | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET`                  | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_SELECTED_STATE_SET`                                | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET`                 | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_STATE_SET`                                         | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_WINDOW_FOCUSED_STATE_SET`                          | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_SELECTED_STATE_SET`                                | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET`                 | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_STATE_SET`                                         | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_WINDOW_FOCUSED_STATE_SET`                          | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET`                | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_STATE_SET`                         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET`          | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_SELECTED_STATE_SET`                        | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET`         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_STATE_SET`                                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET`                  | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_SELECTED_STATE_SET`                        | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET`         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_STATE_SET`                                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET`                  | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_SELECTED_STATE_SET`                                | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET`                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_STATE_SET`                                         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_WINDOW_FOCUSED_STATE_SET`                          | | ` 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`                                                  | | ` 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`                                                | | ` 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`                                                | | ` 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`                                                   | | ` 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`                                                   | | ` protected static final int[]`                                                                                                                                                          | `SELECTED_STATE_SET`                                        | | ` protected static final int[]`                                                                                                                                                          | `SELECTED_WINDOW_FOCUSED_STATE_SET`                         | | ` 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`                                             | | ` 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`                                             | | ` 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`                                             | | ` protected static final int[]`                                                                                                                                                          | `WINDOW_FOCUSED_STATE_SET`                                  | | ` 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`                                                         | | ` 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`                                                         | | ` 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`                                                         | |

|                                                                                                                                                                                ### Public constructors                                                                                                                                                                                 ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[DrawerLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#DrawerLayout(android.content.Context))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context) `                                                                                                                                               |
| ` `[DrawerLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#DrawerLayout(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) `                    |
| ` `[DrawerLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#DrawerLayout(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 defStyle) ` |

|                                                                                                                                                                                                                                                                                                                                      ### Public methods                                                                                                                                                                                                                                                                                                                                       ||
|---------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void`                                                                                                       | ` `[addDrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))`(`[DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener)` listener) ` Adds the specified listener to the list of listeners that will be notified of drawer events.                                                                                                                                                       |
| ` void`                                                                                                       | ` `[addFocusables](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addFocusables(java.util.ArrayList<android.view.View>, int, int))`(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> views, int direction, int focusableMode) `                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                       | ` `[addView](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addView(android.view.View, int, android.view.ViewGroup.LayoutParams))`(`[View](https://developer.android.com/reference/android/view/View.html)` child, int index, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` params) `                                                                                                                                                                                           |
| ` void`                                                                                                       | ` `[closeDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawer(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` drawerView) ` Close the specified drawer view by animating it into view.                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                       | ` `[closeDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawer(int))`(int gravity) ` Close the specified drawer by animating it out of view.                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                       | ` `[closeDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawer(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` drawerView, boolean animate) ` Close the specified drawer view.                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                       | ` `[closeDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawer(int, boolean))`(int gravity, boolean animate) ` Close the specified drawer.                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                       | ` `[closeDrawers](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawers())`() ` Close all currently open drawer views by animating them out of view.                                                                                                                                                                                                                                                                                                                                                                                     |
| ` void`                                                                                                       | ` `[computeScroll](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#computeScroll())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` `[generateLayoutParams](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#generateLayoutParams(android.util.AttributeSet))`(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) `                                                                                                                                                                                                                                                                                                                   |
| ` float`                                                                                                      | ` `[getDrawerElevation](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#getDrawerElevation())`() ` The base elevation of the drawer(s) relative to the parent, in pixels.                                                                                                                                                                                                                                                                                                                                                                       |
| ` int`                                                                                                        | ` `[getDrawerLockMode](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#getDrawerLockMode(int))`(int edgeGravity) ` Check the lock mode of the drawer with the given gravity.                                                                                                                                                                                                                                                                                                                                                                    |
| ` int`                                                                                                        | ` `[getDrawerLockMode](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#getDrawerLockMode(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` drawerView) ` Check the lock mode of the given drawer view.                                                                                                                                                                                                                                                                                              |
| ` CharSequence`                                                                                               | ` `[getDrawerTitle](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#getDrawerTitle(int))`(int edgeGravity) ` Returns the title of the drawer with the given gravity.                                                                                                                                                                                                                                                                                                                                                                            |
| ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)                | ` `[getStatusBarBackgroundDrawable](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#getStatusBarBackgroundDrawable())`() ` Gets the drawable used to draw in the insets area for the status bar.                                                                                                                                                                                                                                                                                                                                                |
| ` boolean`                                                                                                    | ` `[isDrawerOpen](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#isDrawerOpen(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` drawer) ` Check if the given drawer view is currently in an open state.                                                                                                                                                                                                                                                                                            |
| ` boolean`                                                                                                    | ` `[isDrawerOpen](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#isDrawerOpen(int))`(int drawerGravity) ` Check if the given drawer view is currently in an open state.                                                                                                                                                                                                                                                                                                                                                                        |
| ` boolean`                                                                                                    | ` `[isDrawerVisible](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#isDrawerVisible(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` drawer) ` Check if a given drawer view is currently visible on-screen.                                                                                                                                                                                                                                                                                       |
| ` boolean`                                                                                                    | ` `[isDrawerVisible](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#isDrawerVisible(int))`(int drawerGravity) ` Check if a given drawer view is currently visible on-screen.                                                                                                                                                                                                                                                                                                                                                                   |
| ` void`                                                                                                       | ` `[onDraw](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onDraw(android.graphics.Canvas))`(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` c) `                                                                                                                                                                                                                                                                                                                                                             |
| ` boolean`                                                                                                    | ` `[onInterceptTouchEvent](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onInterceptTouchEvent(android.view.MotionEvent))`(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` ev) `                                                                                                                                                                                                                                                                                                                       |
| ` boolean`                                                                                                    | ` `[onKeyDown](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onKeyDown(int, android.view.KeyEvent))`(int keyCode, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` event) `                                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                                                    | ` `[onKeyUp](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onKeyUp(int, android.view.KeyEvent))`(int keyCode, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` event) `                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                       | ` `[onRtlPropertiesChanged](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onRtlPropertiesChanged(int))`(int layoutDirection) `                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` boolean`                                                                                                    | ` `[onTouchEvent](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onTouchEvent(android.view.MotionEvent))`(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` ev) `                                                                                                                                                                                                                                                                                                                                         |
| ` void`                                                                                                       | ` `[openDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#openDrawer(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` drawerView, boolean animate) ` Open the specified drawer view.                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                                       | ` `[openDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#openDrawer(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` drawerView) ` Open the specified drawer view by animating it into view.                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                                       | ` `[openDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#openDrawer(int))`(int gravity) ` Open the specified drawer by animating it out of view.                                                                                                                                                                                                                                                                                                                                                                                         |
| ` void`                                                                                                       | ` `[openDrawer](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#openDrawer(int, boolean))`(int gravity, boolean animate) ` Open the specified drawer.                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                                       | ` `[removeDrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))`(`[DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener)` listener) ` Removes the specified listener from the list of listeners that will be notified of drawer events.                                                                                                                                            |
| ` void`                                                                                                       | ` `[requestDisallowInterceptTouchEvent](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#requestDisallowInterceptTouchEvent(boolean))`(boolean disallowIntercept) `                                                                                                                                                                                                                                                                                                                                                                              |
| ` void`                                                                                                       | ` `[requestLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#requestLayout())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                       | ` `[setDrawerElevation](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerElevation(float))`(float elevation) ` Sets the base elevation of the drawer(s) relative to the parent, in pixels.                                                                                                                                                                                                                                                                                                                                              |
| ` void`                                                                                                       | ` `[setDrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))`(`[DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener)` listener) ` *This method was deprecated in API level 24.1.0. Use [addDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))* |
| ` void`                                                                                                       | ` `[setDrawerLockMode](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerLockMode(int, android.view.View))`(int lockMode, `[View](https://developer.android.com/reference/android/view/View.html)` drawerView) ` Enable or disable interaction with the given drawer.                                                                                                                                                                                                                                                                    |
| ` void`                                                                                                       | ` `[setDrawerLockMode](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerLockMode(int))`(int lockMode) ` Enable or disable interaction with all drawers.                                                                                                                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                                       | ` `[setDrawerLockMode](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerLockMode(int, int))`(int lockMode, int edgeGravity) ` Enable or disable interaction with the given drawer.                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                       | ` `[setDrawerShadow](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerShadow(int, int))`(int resId, int gravity) ` Set a simple drawable used for the left or right shadow.                                                                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                       | ` `[setDrawerShadow](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerShadow(android.graphics.drawable.Drawable, int))`(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` shadowDrawable, int gravity) ` Set a simple drawable used for the left or right shadow.                                                                                                                                                                                                                           |
| ` void`                                                                                                       | ` `[setDrawerTitle](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerTitle(int, java.lang.CharSequence))`(int edgeGravity, CharSequence title) ` Sets the title of the drawer with the given gravity.                                                                                                                                                                                                                                                                                                                                   |
| ` void`                                                                                                       | ` `[setScrimColor](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setScrimColor(int))`(int color) ` Set a color to use for the scrim that obscures primary content while a drawer is open.                                                                                                                                                                                                                                                                                                                                                     |
| ` void`                                                                                                       | ` `[setStatusBarBackground](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setStatusBarBackground(android.graphics.drawable.Drawable))`(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` bg) ` Set a drawable to draw in the insets area for the status bar.                                                                                                                                                                                                                                      |
| ` void`                                                                                                       | ` `[setStatusBarBackground](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setStatusBarBackground(int))`(int resId) ` Set a drawable to draw in the insets area for the status bar.                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                       | ` `[setStatusBarBackgroundColor](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setStatusBarBackgroundColor(int))`(int color) ` Set a drawable to draw in the insets area for the status bar.                                                                                                                                                                                                                                                                                                                                                  |

|                                                                                                                                                                                                                          ### Protected methods                                                                                                                                                                                                                          ||
|---------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` boolean`                                                                                                    | ` `[checkLayoutParams](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#checkLayoutParams(android.view.ViewGroup.LayoutParams))`(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` p) `                                                                         |
| ` boolean`                                                                                                    | ` `[drawChild](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#drawChild(android.graphics.Canvas, android.view.View, long))`(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` canvas, `[View](https://developer.android.com/reference/android/view/View.html)` child, long drawingTime) ` |
| ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` `[generateDefaultLayoutParams](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#generateDefaultLayoutParams())`() `                                                                                                                                                                                                      |
| ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` `[generateLayoutParams](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#generateLayoutParams(android.view.ViewGroup.LayoutParams))`(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` p) `                                                                   |
| ` void`                                                                                                       | ` `[onAttachedToWindow](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onAttachedToWindow())`() `                                                                                                                                                                                                                        |
| ` void`                                                                                                       | ` `[onDetachedFromWindow](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onDetachedFromWindow())`() `                                                                                                                                                                                                                    |
| ` void`                                                                                                       | ` `[onLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onLayout(boolean, int, int, int, int))`(boolean changed, int l, int t, int r, int b) `                                                                                                                                                                      |
| ` void`                                                                                                       | ` `[onMeasure](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onMeasure(int, int))`(int widthMeasureSpec, int heightMeasureSpec) `                                                                                                                                                                                       |
| ` void`                                                                                                       | ` `[onRestoreInstanceState](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onRestoreInstanceState(android.os.Parcelable))`(`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` state) `                                                                                                   |
| ` `[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)                           | ` `[onSaveInstanceState](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#onSaveInstanceState())`() `                                                                                                                                                                                                                      |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#)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/v4/widget/DrawerLayout#)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`                                                                                                                           | ` addKeyFallbackListener(`[View.OnKeyFallbackListener](https://developer.android.com/reference/android/view/View.OnKeyFallbackListener.html)` arg0) `                                                                                                                | | ` 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() `                                                                                                                                                                                                                                   | | ` CharSequence`                                                                                                                   | ` getAccessibilityPaneTitle() `                                                                                                                                                                                                                                      | | ` 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() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getOutlineAmbientShadowColor() `                                                                                                                                                                                                                                   | | ` `[ViewOutlineProvider](https://developer.android.com/reference/android/view/ViewOutlineProvider.html)                           | ` getOutlineProvider() `                                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getOutlineSpotShadowColor() `                                                                                                                                                                                                                                      | | ` 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`                                                                                                                        | ` isScreenReaderFocusable() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isScrollContainer() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isScrollbarFadingEnabled() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` isSelected() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isShown() `                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isSoundEffectsEnabled() `                                                                                                                                                                                                                                          | | ` final boolean`                                                                                                                  | ` isTemporarilyDetached() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isTextAlignmentResolved() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isTextDirectionResolved() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isVerticalFadingEdgeEnabled() `                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isVerticalScrollBarEnabled() `                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isVisibleToUserForAutofill(int arg0) `                                                                                                                                                                                                                             | | ` 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`                                                                                                                        | ` onKeyFallback(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                             | | ` 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`                                                                                                                           | ` removeKeyFallbackListener(`[View.OnKeyFallbackListener](https://developer.android.com/reference/android/view/View.OnKeyFallbackListener.html)` 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) `                                                                                                                                           | | ` final <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                                   | ` requireViewById(int 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`                                                                                                                           | ` setAccessibilityPaneTitle(CharSequence 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`                                                                                                                           | ` setOutlineAmbientShadowColor(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setOutlineProvider(`[ViewOutlineProvider](https://developer.android.com/reference/android/view/ViewOutlineProvider.html)` arg0) `                                                                                                                                  | | ` void`                                                                                                                           | ` setOutlineSpotShadowColor(int 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`                                                                                                                           | ` setScreenReaderFocusable(boolean 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/v4/widget/DrawerLayout#)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/v4/widget/DrawerLayout#)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/v4/widget/DrawerLayout#)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/v4/widget/DrawerLayout#)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/v4/widget/DrawerLayout#)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/v4/widget/DrawerLayout#)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) ` | ||

## Constants

### LOCK_MODE_LOCKED_CLOSED

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

```
int LOCK_MODE_LOCKED_CLOSED
```

The drawer is locked closed. The user may not open it, though
the app may open it programmatically.

<br />

Constant Value:

1
(0x00000001)


### LOCK_MODE_LOCKED_OPEN

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

```
int LOCK_MODE_LOCKED_OPEN
```

The drawer is locked open. The user may not close it, though the app
may close it programmatically.

<br />

Constant Value:

2
(0x00000002)


### LOCK_MODE_UNDEFINED

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

```
int LOCK_MODE_UNDEFINED
```

The drawer's lock state is reset to default.

<br />

Constant Value:

3
(0x00000003)


### LOCK_MODE_UNLOCKED

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

```
int LOCK_MODE_UNLOCKED
```

The drawer is unlocked.

<br />

Constant Value:

0
(0x00000000)


### STATE_DRAGGING

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

```
int STATE_DRAGGING
```

Indicates that a drawer is currently being dragged by the user.

<br />

Constant Value:

1
(0x00000001)


### STATE_IDLE

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

```
int STATE_IDLE
```

Indicates that any drawers are in an idle, settled state. No animation is in progress.

<br />

Constant Value:

0
(0x00000000)


### STATE_SETTLING

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

```
int STATE_SETTLING
```

Indicates that a drawer is in the process of settling to a final position.

<br />

Constant Value:

2
(0x00000002)


## Public constructors

### DrawerLayout

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

```
DrawerLayout (Context context)
```

<br />

<br />

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

### DrawerLayout

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

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

<br />

<br />

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

### DrawerLayout

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

```
DrawerLayout (Context context, 
                AttributeSet attrs, 
                int defStyle)
```

<br />

<br />

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

## Public methods

### addDrawerListener

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

```
void addDrawerListener (DrawerLayout.DrawerListener listener)
```

Adds the specified listener to the list of listeners that will be notified of drawer events.

<br />

|                                           Parameters                                           ||
|------------|------------------------------------------------------------------------------------|
| `listener` | `DrawerLayout.DrawerListener`: Listener to notify when drawer events occur. <br /> |

**See also:**

- [removeDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))  

### addFocusables

```
void addFocusables (ArrayList<View> views, 
                int direction, 
                int focusableMode)
```

<br />

<br />

|             Parameters              ||
|-----------------|--------------------|
| `views`         | `ArrayList` <br /> |
| `direction`     | `int` <br />       |
| `focusableMode` | `int` <br />       |

### addView

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

<br />

<br />

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

### closeDrawer

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

```
void closeDrawer (View drawerView)
```

Close the specified drawer view by animating it into view.

<br />

|                    Parameters                     ||
|--------------|-------------------------------------|
| `drawerView` | `View`: Drawer view to close <br /> |

### closeDrawer

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

```
void closeDrawer (int gravity)
```

Close the specified drawer by animating it out of view.

<br />

|                                                                        Parameters                                                                        ||
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `gravity` | `int`: Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right. GravityCompat.START or GravityCompat.END may also be used. <br /> |

### closeDrawer

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

```
void closeDrawer (View drawerView, 
                boolean animate)
```

Close the specified drawer view.

<br />

|                                    Parameters                                     ||
|--------------|---------------------------------------------------------------------|
| `drawerView` | `View`: Drawer view to close <br />                                 |
| `animate`    | `boolean`: Whether closing of the drawer should be animated. <br /> |

### closeDrawer

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

```
void closeDrawer (int gravity, 
                boolean animate)
```

Close the specified drawer.

<br />

|                                                                        Parameters                                                                        ||
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `gravity` | `int`: Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right. GravityCompat.START or GravityCompat.END may also be used. <br /> |
| `animate` | `boolean`: Whether closing of the drawer should be animated. <br />                                                                           |

### closeDrawers

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

```
void closeDrawers ()
```

Close all currently open drawer views by animating them out of view.

<br />

### computeScroll

```
void computeScroll ()
```

<br />

<br />

### generateLayoutParams

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

<br />

<br />

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

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

### getDrawerElevation

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

```
float getDrawerElevation ()
```

The base elevation of the drawer(s) relative to the parent, in pixels. Note that the
elevation change is only supported in API 21 and above. For unsupported API levels, 0 will
be returned as the elevation.

<br />

|                             Returns                             ||
|---------|--------------------------------------------------------|
| `float` | The base depth position of the view, in pixels. <br /> |

### getDrawerLockMode

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

```
int getDrawerLockMode (int edgeGravity)
```

Check the lock mode of the drawer with the given gravity.

<br />

|                         Parameters                          ||
|---------------|----------------------------------------------|
| `edgeGravity` | `int`: Gravity of the drawer to check <br /> |

|                                                                                                                                                                                                      Returns                                                                                                                                                                                                      ||
|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | one of [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED), [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED) or [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN). <br /> |

### getDrawerLockMode

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

```
int getDrawerLockMode (View drawerView)
```

Check the lock mode of the given drawer view.

<br />

|                         Parameters                          ||
|--------------|-----------------------------------------------|
| `drawerView` | `View`: Drawer view to check lock mode <br /> |

|                                                                                                                                                                                                      Returns                                                                                                                                                                                                      ||
|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | one of [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED), [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED) or [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN). <br /> |

### getDrawerTitle

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

```
CharSequence getDrawerTitle (int edgeGravity)
```

Returns the title of the drawer with the given gravity.

<br />

|                                                   Parameters                                                    ||
|---------------|--------------------------------------------------------------------------------------------------|
| `edgeGravity` | `int`: Gravity.LEFT, RIGHT, START or END. Expresses which drawer to return the title for. <br /> |

|                               Returns                                ||
|----------------|------------------------------------------------------|
| `CharSequence` | The title of the drawer, or null if none set. <br /> |

**See also:**

- [setDrawerTitle(int, CharSequence)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#setDrawerTitle(int, java.lang.CharSequence))  

### getStatusBarBackgroundDrawable

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

```
Drawable getStatusBarBackgroundDrawable ()
```

Gets the drawable used to draw in the insets area for the status bar.

<br />

|                                                                           Returns                                                                           ||
|---------------------------------------------------------------------------------------------|----------------------------------------------------------------|
| [Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html) | The status bar background drawable, or null if none set <br /> |

### isDrawerOpen

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

```
boolean isDrawerOpen (View drawer)
```

Check if the given drawer view is currently in an open state.
To be considered "open" the drawer must have settled into its fully
visible state. To check for partial visibility use
[isDrawerVisible(android.view.View)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#isDrawerVisible(android.view.View)).

<br />

|                  Parameters                   ||
|----------|-------------------------------------|
| `drawer` | `View`: Drawer view to check <br /> |

|                               Returns                               ||
|-----------|----------------------------------------------------------|
| `boolean` | true if the given drawer view is in an open state <br /> |

**See also:**

- [isDrawerVisible(android.view.View)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#isDrawerVisible(android.view.View))  

### isDrawerOpen

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

```
boolean isDrawerOpen (int drawerGravity)
```

Check if the given drawer view is currently in an open state.
To be considered "open" the drawer must have settled into its fully
visible state. If there is no drawer with the given gravity this method
will return false.

<br />

|                          Parameters                           ||
|-----------------|----------------------------------------------|
| `drawerGravity` | `int`: Gravity of the drawer to check <br /> |

|                               Returns                               ||
|-----------|----------------------------------------------------------|
| `boolean` | true if the given drawer view is in an open state <br /> |

### isDrawerVisible

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

```
boolean isDrawerVisible (View drawer)
```

Check if a given drawer view is currently visible on-screen. The drawer
may be only peeking onto the screen, fully extended, or anywhere inbetween.

<br />

|                  Parameters                   ||
|----------|-------------------------------------|
| `drawer` | `View`: Drawer view to check <br /> |

|                             Returns                             ||
|-----------|------------------------------------------------------|
| `boolean` | true if the given drawer is visible on-screen <br /> |

**See also:**

- [isDrawerOpen(android.view.View)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#isDrawerOpen(android.view.View))  

### isDrawerVisible

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

```
boolean isDrawerVisible (int drawerGravity)
```

Check if a given drawer view is currently visible on-screen. The drawer
may be only peeking onto the screen, fully extended, or anywhere in between.
If there is no drawer with the given gravity this method will return false.

<br />

|                          Parameters                           ||
|-----------------|----------------------------------------------|
| `drawerGravity` | `int`: Gravity of the drawer to check <br /> |

|                             Returns                             ||
|-----------|------------------------------------------------------|
| `boolean` | true if the given drawer is visible on-screen <br /> |

### onDraw

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

```
void onDraw (Canvas c)
```

<br />

<br />

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

### onInterceptTouchEvent

```
boolean onInterceptTouchEvent (MotionEvent ev)
```

<br />

<br />

|         Parameters         ||
|------|----------------------|
| `ev` | `MotionEvent` <br /> |

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

### onKeyDown

```
boolean onKeyDown (int keyCode, 
                KeyEvent event)
```

<br />

<br />

|          Parameters          ||
|-----------|-------------------|
| `keyCode` | `int` <br />      |
| `event`   | `KeyEvent` <br /> |

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

### onKeyUp

```
boolean onKeyUp (int keyCode, 
                KeyEvent event)
```

<br />

<br />

|          Parameters          ||
|-----------|-------------------|
| `keyCode` | `int` <br />      |
| `event`   | `KeyEvent` <br /> |

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

### onRtlPropertiesChanged

```
void onRtlPropertiesChanged (int layoutDirection)
```

<br />

<br />

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

### onTouchEvent

```
boolean onTouchEvent (MotionEvent ev)
```

<br />

<br />

|         Parameters         ||
|------|----------------------|
| `ev` | `MotionEvent` <br /> |

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

### openDrawer

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

```
void openDrawer (View drawerView, 
                boolean animate)
```

Open the specified drawer view.

<br />

|                                    Parameters                                     ||
|--------------|---------------------------------------------------------------------|
| `drawerView` | `View`: Drawer view to open <br />                                  |
| `animate`    | `boolean`: Whether opening of the drawer should be animated. <br /> |

### openDrawer

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

```
void openDrawer (View drawerView)
```

Open the specified drawer view by animating it into view.

<br />

|                    Parameters                    ||
|--------------|------------------------------------|
| `drawerView` | `View`: Drawer view to open <br /> |

### openDrawer

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

```
void openDrawer (int gravity)
```

Open the specified drawer by animating it out of view.

<br />

|                                                                        Parameters                                                                        ||
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `gravity` | `int`: Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right. GravityCompat.START or GravityCompat.END may also be used. <br /> |

### openDrawer

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

```
void openDrawer (int gravity, 
                boolean animate)
```

Open the specified drawer.

<br />

|                                                                        Parameters                                                                        ||
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| `gravity` | `int`: Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right. GravityCompat.START or GravityCompat.END may also be used. <br /> |
| `animate` | `boolean`: Whether opening of the drawer should be animated. <br />                                                                           |

### removeDrawerListener

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

```
void removeDrawerListener (DrawerLayout.DrawerListener listener)
```

Removes the specified listener from the list of listeners that will be notified of drawer
events.

<br />

|                                                Parameters                                                 ||
|------------|-----------------------------------------------------------------------------------------------|
| `listener` | `DrawerLayout.DrawerListener`: Listener to remove from being notified of drawer events <br /> |

**See also:**

- [addDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))  

### requestDisallowInterceptTouchEvent

```
void requestDisallowInterceptTouchEvent (boolean disallowIntercept)
```

<br />

<br />

|              Parameters               ||
|---------------------|------------------|
| `disallowIntercept` | `boolean` <br /> |

### requestLayout

```
void requestLayout ()
```

<br />

<br />

### setDrawerElevation

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

```
void setDrawerElevation (float elevation)
```

Sets the base elevation of the drawer(s) relative to the parent, in pixels. Note that the
elevation change is only supported in API 21 and above.

<br />

|                                  Parameters                                  ||
|-------------|-----------------------------------------------------------------|
| `elevation` | `float`: The base depth position of the view, in pixels. <br /> |

### setDrawerListener

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

```
void setDrawerListener (DrawerLayout.DrawerListener listener)
```


**This method was deprecated
in API level 24.1.0.**   

Use [addDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))

Set a listener to be notified of drawer events. Note that this method is deprecated
and you should use [addDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener)) to add a listener and
[removeDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener)) to remove a registered listener.

<br />

|                                          Parameters                                           ||
|------------|-----------------------------------------------------------------------------------|
| `listener` | `DrawerLayout.DrawerListener`: Listener to notify when drawer events occur <br /> |

**See also:**

- [DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener)
- [addDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#addDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))
- [removeDrawerListener(DrawerListener)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#removeDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener))  

### setDrawerLockMode

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

```
void setDrawerLockMode (int lockMode, 
                View drawerView)
```

Enable or disable interaction with the given drawer.

This allows the application to restrict the user's ability to open or close
the given drawer. DrawerLayout will still respond to calls to [openDrawer(int)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#openDrawer(int)),
[closeDrawer(int)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawer(int)) and friends if a drawer is locked.

Locking a drawer open or closed will implicitly open or close
that drawer as appropriate.

<br />

<br />

|                                                                                                                                                                                                                               Parameters                                                                                                                                                                                                                                ||
|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `lockMode`   | `int`: The new lock mode for the given drawer. One of [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED), [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED) or [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN). <br /> |
| `drawerView` | `View`: The drawer view to change the lock mode for <br />                                                                                                                                                                                                                                                                                                                                                                                                |

**See also:**

- [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED)
- [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED)
- [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN)  

### setDrawerLockMode

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

```
void setDrawerLockMode (int lockMode)
```

Enable or disable interaction with all drawers.

This allows the application to restrict the user's ability to open or close
any drawer within this layout. DrawerLayout will still respond to calls to
[openDrawer(int)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#openDrawer(int)), [closeDrawer(int)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawer(int)) and friends if a drawer is locked.

Locking drawers open or closed will implicitly open or close
any drawers as appropriate.

<br />

<br />

|                                                                                                                                                                                                                              Parameters                                                                                                                                                                                                                               ||
|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `lockMode` | `int`: The new lock mode for the given drawer. One of [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED), [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED) or [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN). <br /> |

### setDrawerLockMode

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

```
void setDrawerLockMode (int lockMode, 
                int edgeGravity)
```

Enable or disable interaction with the given drawer.

This allows the application to restrict the user's ability to open or close
the given drawer. DrawerLayout will still respond to calls to [openDrawer(int)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#openDrawer(int)),
[closeDrawer(int)](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#closeDrawer(int)) and friends if a drawer is locked.

Locking a drawer open or closed will implicitly open or close
that drawer as appropriate.

<br />

<br />

|                                                                                                                                                                                                                                Parameters                                                                                                                                                                                                                                ||
|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `lockMode`    | `int`: The new lock mode for the given drawer. One of [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED), [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED) or [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN). <br /> |
| `edgeGravity` | `int`: Gravity.LEFT, RIGHT, START or END. Expresses which drawer to change the mode for. <br />                                                                                                                                                                                                                                                                                                                                                           |

**See also:**

- [LOCK_MODE_UNLOCKED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_UNLOCKED)
- [LOCK_MODE_LOCKED_CLOSED](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_CLOSED)
- [LOCK_MODE_LOCKED_OPEN](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout#LOCK_MODE_LOCKED_OPEN)  

### setDrawerShadow

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

```
void setDrawerShadow (int resId, 
                int gravity)
```

Set a simple drawable used for the left or right shadow. The drawable provided must have a
nonzero intrinsic width. For API 21 and above, an elevation will be set on the drawer
instead of using the provided shadow drawable.

Note that for better support for both left-to-right and right-to-left layout
directions, a drawable for RTL layout (in additional to the one in LTR layout) can be
defined with a resource qualifier "ldrtl" for API 17 and above with the gravity
[START](https://developer.android.com/reference/android/support/v4/view/GravityCompat#START). Alternatively, for API 23 and above, the drawable can
auto-mirrored such that the drawable will be mirrored in RTL layout.

<br />

<br />

|                                        Parameters                                        ||
|-----------|-------------------------------------------------------------------------------|
| `resId`   | `int`: Resource id of a shadow drawable to use at the edge of a drawer <br /> |
| `gravity` | `int`: Which drawer the shadow should apply to <br />                         |

### setDrawerShadow

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

```
void setDrawerShadow (Drawable shadowDrawable, 
                int gravity)
```

Set a simple drawable used for the left or right shadow. The drawable provided must have a
nonzero intrinsic width. For API 21 and above, an elevation will be set on the drawer
instead of using the provided shadow drawable.

Note that for better support for both left-to-right and right-to-left layout
directions, a drawable for RTL layout (in additional to the one in LTR layout) can be
defined with a resource qualifier "ldrtl" for API 17 and above with the gravity
[START](https://developer.android.com/reference/android/support/v4/view/GravityCompat#START). Alternatively, for API 23 and above, the drawable can
auto-mirrored such that the drawable will be mirrored in RTL layout.

<br />

<br />

|                                     Parameters                                      ||
|------------------|-------------------------------------------------------------------|
| `shadowDrawable` | `Drawable`: Shadow drawable to use at the edge of a drawer <br /> |
| `gravity`        | `int`: Which drawer the shadow should apply to <br />             |

### setDrawerTitle

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

```
void setDrawerTitle (int edgeGravity, 
                CharSequence title)
```

Sets the title of the drawer with the given gravity.


When accessibility is turned on, this is the title that will be used to
identify the drawer to the active accessibility service.

<br />

|                                                  Parameters                                                  ||
|---------------|-----------------------------------------------------------------------------------------------|
| `edgeGravity` | `int`: Gravity.LEFT, RIGHT, START or END. Expresses which drawer to set the title for. <br /> |
| `title`       | `CharSequence`: The title for the drawer. <br />                                              |

### setScrimColor

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

```
void setScrimColor (int color)
```

Set a color to use for the scrim that obscures primary content while a drawer is open.

<br />

|                        Parameters                         ||
|---------|--------------------------------------------------|
| `color` | `int`: Color to use in 0xAARRGGBB format. <br /> |

### setStatusBarBackground

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

```
void setStatusBarBackground (Drawable bg)
```

Set a drawable to draw in the insets area for the status bar.
Note that this will only be activated if this DrawerLayout fitsSystemWindows.

<br />

|                                 Parameters                                 ||
|------|----------------------------------------------------------------------|
| `bg` | `Drawable`: Background drawable to draw behind the status bar <br /> |

### setStatusBarBackground

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

```
void setStatusBarBackground (int resId)
```

Set a drawable to draw in the insets area for the status bar.
Note that this will only be activated if this DrawerLayout fitsSystemWindows.

<br />

|                                        Parameters                                         ||
|---------|----------------------------------------------------------------------------------|
| `resId` | `int`: Resource id of a background drawable to draw behind the status bar <br /> |

### setStatusBarBackgroundColor

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

```
void setStatusBarBackgroundColor (int color)
```

Set a drawable to draw in the insets area for the status bar.
Note that this will only be activated if this DrawerLayout fitsSystemWindows.

<br />

|                                                    Parameters                                                    ||
|---------|---------------------------------------------------------------------------------------------------------|
| `color` | `int`: Color to use as a background drawable to draw behind the status bar in 0xAARRGGBB format. <br /> |

## Protected methods

### checkLayoutParams

```
boolean checkLayoutParams (ViewGroup.LayoutParams p)
```

<br />

<br />

|              Parameters              ||
|-----|---------------------------------|
| `p` | `ViewGroup.LayoutParams` <br /> |

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

### drawChild

```
boolean drawChild (Canvas canvas, 
                View child, 
                long drawingTime)
```

<br />

<br />

|           Parameters           ||
|---------------|-----------------|
| `canvas`      | `Canvas` <br /> |
| `child`       | `View` <br />   |
| `drawingTime` | `long` <br />   |

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

### generateDefaultLayoutParams

```
ViewGroup.LayoutParams generateDefaultLayoutParams ()
```

<br />

<br />

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

### generateLayoutParams

```
ViewGroup.LayoutParams generateLayoutParams (ViewGroup.LayoutParams p)
```

<br />

<br />

|              Parameters              ||
|-----|---------------------------------|
| `p` | `ViewGroup.LayoutParams` <br /> |

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

### onAttachedToWindow

```
void onAttachedToWindow ()
```

<br />

<br />

### onDetachedFromWindow

```
void onDetachedFromWindow ()
```

<br />

<br />

### onLayout

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

```
void onLayout (boolean changed, 
                int l, 
                int t, 
                int r, 
                int b)
```

<br />

<br />

|         Parameters          ||
|-----------|------------------|
| `changed` | `boolean` <br /> |
| `l`       | `int` <br />     |
| `t`       | `int` <br />     |
| `r`       | `int` <br />     |
| `b`       | `int` <br />     |

### onMeasure

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

<br />

<br />

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

### onRestoreInstanceState

```
void onRestoreInstanceState (Parcelable state)
```

<br />

<br />

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

### onSaveInstanceState

```
Parcelable onSaveInstanceState ()
```

<br />

<br />

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

-

  ## Interfaces

  - [DrawerLayout.DrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.DrawerListener)
  - [NestedScrollView.OnScrollChangeListener](https://developer.android.com/reference/android/support/v4/widget/NestedScrollView.OnScrollChangeListener)
  - [SimpleCursorAdapter.CursorToStringConverter](https://developer.android.com/reference/android/support/v4/widget/SimpleCursorAdapter.CursorToStringConverter)
  - [SimpleCursorAdapter.ViewBinder](https://developer.android.com/reference/android/support/v4/widget/SimpleCursorAdapter.ViewBinder)
  - [SlidingPaneLayout.PanelSlideListener](https://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.PanelSlideListener)
  - [SwipeRefreshLayout.OnChildScrollUpCallback](https://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.OnChildScrollUpCallback)
  - [SwipeRefreshLayout.OnRefreshListener](https://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.OnRefreshListener)
  - [TintableCompoundButton](https://developer.android.com/reference/android/support/v4/widget/TintableCompoundButton)
-

  ## Classes

  - [AutoScrollHelper](https://developer.android.com/reference/android/support/v4/widget/AutoScrollHelper)
  - [CircularProgressDrawable](https://developer.android.com/reference/android/support/v4/widget/CircularProgressDrawable)
  - [CompoundButtonCompat](https://developer.android.com/reference/android/support/v4/widget/CompoundButtonCompat)
  - [ContentLoadingProgressBar](https://developer.android.com/reference/android/support/v4/widget/ContentLoadingProgressBar)
  - [CursorAdapter](https://developer.android.com/reference/android/support/v4/widget/CursorAdapter)
  - [DrawerLayout](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout)
  - [DrawerLayout.LayoutParams](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.LayoutParams)
  - [DrawerLayout.SavedState](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.SavedState)
  - [DrawerLayout.SimpleDrawerListener](https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.SimpleDrawerListener)
  - [EdgeEffectCompat](https://developer.android.com/reference/android/support/v4/widget/EdgeEffectCompat)
  - [ExploreByTouchHelper](https://developer.android.com/reference/android/support/v4/widget/ExploreByTouchHelper)
  - [ImageViewCompat](https://developer.android.com/reference/android/support/v4/widget/ImageViewCompat)
  - [ListPopupWindowCompat](https://developer.android.com/reference/android/support/v4/widget/ListPopupWindowCompat)
  - [ListViewAutoScrollHelper](https://developer.android.com/reference/android/support/v4/widget/ListViewAutoScrollHelper)
  - [ListViewCompat](https://developer.android.com/reference/android/support/v4/widget/ListViewCompat)
  - [NestedScrollView](https://developer.android.com/reference/android/support/v4/widget/NestedScrollView)
  - [PopupMenuCompat](https://developer.android.com/reference/android/support/v4/widget/PopupMenuCompat)
  - [PopupWindowCompat](https://developer.android.com/reference/android/support/v4/widget/PopupWindowCompat)
  - [ResourceCursorAdapter](https://developer.android.com/reference/android/support/v4/widget/ResourceCursorAdapter)
  - [ScrollerCompat](https://developer.android.com/reference/android/support/v4/widget/ScrollerCompat)
  - [SimpleCursorAdapter](https://developer.android.com/reference/android/support/v4/widget/SimpleCursorAdapter)
  - [SlidingPaneLayout](https://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout)
  - [SlidingPaneLayout.LayoutParams](https://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.LayoutParams)
  - [SlidingPaneLayout.SimplePanelSlideListener](https://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.SimplePanelSlideListener)
  - [Space](https://developer.android.com/reference/android/support/v4/widget/Space)
  - [SwipeRefreshLayout](https://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout)
  - [TextViewCompat](https://developer.android.com/reference/android/support/v4/widget/TextViewCompat)
  - [ViewDragHelper](https://developer.android.com/reference/android/support/v4/widget/ViewDragHelper)
  - [ViewDragHelper.Callback](https://developer.android.com/reference/android/support/v4/widget/ViewDragHelper.Callback)