# FragmentTabHost

Artifact: [androidx.fragment:fragment](https://developer.android.com/jetpack/androidx/releases/fragment) [View Source](https://cs.android.com/search?q=file:androidx/fragment/app/FragmentTabHost.java+class:androidx.fragment.app.FragmentTabHost) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0)

*** ** * ** ***


```
public class FragmentTabHost extends TabHost implements TabHost.OnTabChangeListener
```

<br />

|---|---|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||||||
| ↳ | [android.view.View](https://developer.android.com/reference/android/view/View.html) |||||
|   | ↳ | [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) ||||
|   |   | ↳ | [android.widget.FrameLayout](https://developer.android.com/reference/android/widget/FrameLayout.html) |||
|   |   |   | ↳ | [android.widget.TabHost](https://developer.android.com/reference/android/widget/TabHost.html) ||
|   |   |   |   | ↳ | [androidx.fragment.app.FragmentTabHost](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost) |

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

Special TabHost that allows the use of `https://developer.android.com/reference/androidx/fragment/app/Fragment` objects for its tab content. When placing this in a view hierarchy, after inflating the hierarchy you must call `https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setup(android.content.Context,androidx.fragment.app.FragmentManager,int)` to complete the initialization of the tab host.

## Summary

| ### Public constructors |
|---|
| `[FragmentTabHost](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#FragmentTabHost(android.content.Context))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Context.html context)` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `[FragmentTabHost](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#FragmentTabHost(android.content.Context,android.util.AttributeSet))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Context.html context, @https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/util/AttributeSet.html attrs)` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |

| ### Public methods |
|---|---|
| `void` | `[addTab](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#addTab(android.widget.TabHost.TabSpec,java.lang.Class<?>,android.os.Bundle))( @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/widget/TabHost.TabSpec.html tabSpec, @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/Class.html<@https://developer.android.com/reference/androidx/annotation/NonNull ?> clss, @https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/os/Bundle.html args )` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `void` | `[onTabChanged](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onTabChanged(java.lang.String))(@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/java/lang/String.html tabId)` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `void` | `[setOnTabChangedListener](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setOnTabChangedListener(android.widget.TabHost.OnTabChangeListener))(@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/widget/TabHost.OnTabChangeListener.html l)` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `void` | `[setup](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setup())()` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `void` | `[setup](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setup(android.content.Context,androidx.fragment.app.FragmentManager))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Context.html context, @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/fragment/app/FragmentManager manager)` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `void` | `[setup](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setup(android.content.Context,androidx.fragment.app.FragmentManager,int))( @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Context.html context, @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/fragment/app/FragmentManager manager, int containerId )` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |

| ### Protected methods |
|---|---|
| `void` | `[onAttachedToWindow](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onAttachedToWindow())()` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `void` | `[onDetachedFromWindow](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onDetachedFromWindow())()` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `void` | `[onRestoreInstanceState](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onRestoreInstanceState(android.os.Parcelable))(https://developer.android.com/reference/android/os/Parcelable.html state)` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/os/Parcelable.html` | `[onSaveInstanceState](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onSaveInstanceState())()` **This method is deprecated.** Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead. <br /> |

### Inherited Constants

From [android.view.View](https://developer.android.com/reference/android/view/View.html) `static final int` `https://developer.android.com/reference/android/view/View.html#ACCESSIBILITY_DATA_SENSITIVE_AUTO = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#ACCESSIBILITY_DATA_SENSITIVE_NO = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#ACCESSIBILITY_DATA_SENSITIVE_YES = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#ACCESSIBILITY_LIVE_REGION_ASSERTIVE = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#ACCESSIBILITY_LIVE_REGION_NONE = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#ACCESSIBILITY_LIVE_REGION_POLITE = 1`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#ALPHA`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS = 1`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE = "creditCardExpirationDate"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY = "creditCardExpirationDay"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH = "creditCardExpirationMonth"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR = "creditCardExpirationYear"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_CREDIT_CARD_NUMBER = "creditCardNumber"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE = "creditCardSecurityCode"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_EMAIL_ADDRESS = "emailAddress"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_NAME = "name"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_PASSWORD = "password"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_PHONE = "phone"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_POSTAL_ADDRESS = "postalAddress"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_POSTAL_CODE = "postalCode"`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_USERNAME = "username"`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_TYPE_DATE = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_TYPE_LIST = 3`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_TYPE_NONE = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_TYPE_TEXT = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#AUTOFILL_TYPE_TOGGLE = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#CONTENT_SENSITIVITY_AUTO = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#CONTENT_SENSITIVITY_NOT_SENSITIVE = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#CONTENT_SENSITIVITY_SENSITIVE = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_ACCESSIBILITY_ACTION = 1024`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_GLOBAL = 256`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION = 64`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION = 128`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_GLOBAL_SAME_APPLICATION = 4096`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_GLOBAL_URI_READ = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_GLOBAL_URI_WRITE = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_HIDE_CALLING_TASK_ON_DRAG_START = 16384`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_OPAQUE = 512`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAG_FLAG_START_INTENT_SENDER_ON_UNHANDLED_DRAG = 8192`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAWING_CACHE_QUALITY_AUTO = 0`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAWING_CACHE_QUALITY_HIGH = 1048576`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#DRAWING_CACHE_QUALITY_LOW = 524288`

**This field is deprecated.**
`static final int[]` `https://developer.android.com/reference/android/view/View.html#EMPTY_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_FOCUSED_SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#ENABLED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FIND_VIEWS_WITH_CONTENT_DESCRIPTION = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FIND_VIEWS_WITH_TEXT = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUSABLE = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUSABLES_ALL = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUSABLES_TOUCH_MODE = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUSABLE_AUTO = 16`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#FOCUSED_SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#FOCUSED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUS_BACKWARD = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUS_DOWN = 130`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUS_FORWARD = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUS_LEFT = 17`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUS_RIGHT = 66`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#FOCUS_UP = 33`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#GONE = 8`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#HAPTIC_FEEDBACK_ENABLED = 268435456`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_ACCESSIBILITY_AUTO = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_ACCESSIBILITY_NO = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_ACCESSIBILITY_YES = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_AUTOFILL_AUTO = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_AUTOFILL_NO = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS = 8`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_AUTOFILL_YES = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_CONTENT_CAPTURE_AUTO = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_CONTENT_CAPTURE_NO = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS = 8`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_CONTENT_CAPTURE_YES = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#INVISIBLE = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#KEEP_SCREEN_ON = 67108864`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_HARDWARE = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_NONE = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#LAYER_TYPE_SOFTWARE = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#LAYOUT_DIRECTION_INHERIT = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#LAYOUT_DIRECTION_LOCALE = 3`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#LAYOUT_DIRECTION_LTR = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#LAYOUT_DIRECTION_RTL = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#MEASURED_HEIGHT_STATE_SHIFT = 16`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#MEASURED_SIZE_MASK = 16777215`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#MEASURED_STATE_MASK = -16777216`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#MEASURED_STATE_TOO_SMALL = 16777216`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#NOT_FOCUSABLE = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#NO_ID = -1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#OVER_SCROLL_ALWAYS = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#OVER_SCROLL_IF_CONTENT_SCROLLS = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#OVER_SCROLL_NEVER = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#POINTER_CAPTURE_MODE_ABSOLUTE = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#POINTER_CAPTURE_MODE_RELATIVE = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#POINTER_CAPTURE_MODE_UNCAPTURED = 0`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_FOCUSED_SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#PRESSED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#RECTANGLE_ON_SCREEN_REQUEST_SOURCE_INPUT_FOCUS = 3`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#RECTANGLE_ON_SCREEN_REQUEST_SOURCE_SCROLL_ONLY = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#RECTANGLE_ON_SCREEN_REQUEST_SOURCE_TEXT_CURSOR = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#RECTANGLE_ON_SCREEN_REQUEST_SOURCE_UNDEFINED = 0`

**This field is deprecated.** Deprecated in Java
`static final float` `https://developer.android.com/reference/android/view/View.html#REQUESTED_FRAME_RATE_CATEGORY_DEFAULT`

**This field is deprecated.** Deprecated in Java
`static final float` `https://developer.android.com/reference/android/view/View.html#REQUESTED_FRAME_RATE_CATEGORY_HIGH = -4.0f`

**This field is deprecated.** Deprecated in Java
`static final float` `https://developer.android.com/reference/android/view/View.html#REQUESTED_FRAME_RATE_CATEGORY_LOW = -2.0f`

**This field is deprecated.** Deprecated in Java
`static final float` `https://developer.android.com/reference/android/view/View.html#REQUESTED_FRAME_RATE_CATEGORY_NORMAL = -3.0f`

**This field is deprecated.** Deprecated in Java
`static final float` `https://developer.android.com/reference/android/view/View.html#REQUESTED_FRAME_RATE_CATEGORY_NO_PREFERENCE = -1.0f`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#ROTATION`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#ROTATION_X`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#ROTATION_Y`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#SCALE_X`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#SCALE_Y`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCREEN_STATE_OFF = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCREEN_STATE_ON = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLLBARS_INSIDE_INSET = 16777216`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLLBARS_INSIDE_OVERLAY = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLLBARS_OUTSIDE_INSET = 50331648`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLLBARS_OUTSIDE_OVERLAY = 33554432`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLLBAR_POSITION_DEFAULT = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLLBAR_POSITION_LEFT = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLLBAR_POSITION_RIGHT = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_AXIS_HORIZONTAL = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_AXIS_NONE = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_AXIS_VERTICAL = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_CAPTURE_HINT_AUTO = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_CAPTURE_HINT_EXCLUDE = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_CAPTURE_HINT_INCLUDE = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_INDICATOR_BOTTOM = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_INDICATOR_END = 32`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_INDICATOR_LEFT = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_INDICATOR_RIGHT = 8`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_INDICATOR_START = 16`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SCROLL_INDICATOR_TOP = 1`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#SELECTED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#SELECTED_WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#SOUND_EFFECTS_ENABLED = 134217728`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#STATUS_BAR_HIDDEN = 1`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#STATUS_BAR_VISIBLE = 0`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_FULLSCREEN = 4`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_HIDE_NAVIGATION = 2`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_IMMERSIVE = 2048`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_IMMERSIVE_STICKY = 4096`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN = 1024`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION = 512`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LAYOUT_STABLE = 256`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR = 16`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR = 8192`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LOW_PROFILE = 1`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_VISIBLE = 0`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#SYSTEM_UI_LAYOUT_FLAGS = 1536`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_ALIGNMENT_CENTER = 4`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_ALIGNMENT_GRAVITY = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_ALIGNMENT_INHERIT = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_ALIGNMENT_TEXT_END = 3`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_ALIGNMENT_TEXT_START = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_ALIGNMENT_VIEW_END = 6`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_ALIGNMENT_VIEW_START = 5`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_ANY_RTL = 2`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_FIRST_STRONG = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_FIRST_STRONG_LTR = 6`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_FIRST_STRONG_RTL = 7`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_INHERIT = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_LOCALE = 5`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_LTR = 3`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#TEXT_DIRECTION_RTL = 4`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#TRANSLATION_X`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#TRANSLATION_Y`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#TRANSLATION_Z`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#VIEW_LOG_TAG = "View"`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/View.html#VISIBLE = 0`

**This field is deprecated.** Deprecated in Java
`static final int[]` `https://developer.android.com/reference/android/view/View.html#WINDOW_FOCUSED_STATE_SET`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#X`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#Y`

**This field is deprecated.** Deprecated in Java
`static final https://developer.android.com/reference/android/util/Property.html<https://developer.android.com/reference/android/view/View.html, https://developer.android.com/reference/java/lang/Float.html>` `https://developer.android.com/reference/android/view/View.html#Z`

**This field is deprecated.** Deprecated in Java
From [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) `static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#CLIP_TO_PADDING_MASK = 34`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#FOCUS_AFTER_DESCENDANTS = 262144`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#FOCUS_BEFORE_DESCENDANTS = 131072`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#FOCUS_BLOCK_DESCENDANTS = 393216`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#LAYOUT_MODE_CLIP_BOUNDS = 0`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#LAYOUT_MODE_OPTICAL_BOUNDS = 1`

**This field is deprecated.** Deprecated in Java
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_ALL_CACHES = 3`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_ANIMATION_CACHE = 1`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_NO_CACHE = 0`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/view/ViewGroup.html#PERSISTENT_SCROLLING_CACHE = 2`

**This field is deprecated.**

### Inherited methods

From [android.widget.FrameLayout](https://developer.android.com/reference/android/widget/FrameLayout.html) `boolean` `[checkLayoutParams](https://developer.android.com/reference/android/widget/FrameLayout.html#checkLayoutParams(android.view.ViewGroup.LayoutParams))(https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html p)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/widget/FrameLayout.LayoutParams.html` `[generateDefaultLayoutParams](https://developer.android.com/reference/android/widget/FrameLayout.html#generateDefaultLayoutParams())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/widget/FrameLayout.LayoutParams.html` `[generateLayoutParams](https://developer.android.com/reference/android/widget/FrameLayout.html#generateLayoutParams(android.util.AttributeSet))(https://developer.android.com/reference/android/util/AttributeSet.html attrs)`

**This method is deprecated.** Deprecated in Java
`boolean` `[getConsiderGoneChildrenWhenMeasuring](https://developer.android.com/reference/android/widget/FrameLayout.html#getConsiderGoneChildrenWhenMeasuring())()`

**This method is deprecated.**
`boolean` `[getMeasureAllChildren](https://developer.android.com/reference/android/widget/FrameLayout.html#getMeasureAllChildren())()`

**This method is deprecated.** Deprecated in Java
`void` `[onLayout](https://developer.android.com/reference/android/widget/FrameLayout.html#onLayout(boolean, int, int, int, int))(boolean changed, int left, int top, int right, int bottom)`

**This method is deprecated.** Deprecated in Java
`void` `[onMeasure](https://developer.android.com/reference/android/widget/FrameLayout.html#onMeasure(int, int))(int widthMeasureSpec, int heightMeasureSpec)`

**This method is deprecated.** Deprecated in Java
`void` `[setForegroundGravity](https://developer.android.com/reference/android/widget/FrameLayout.html#setForegroundGravity(int))(int foregroundGravity)`

**This method is deprecated.** Deprecated in Java
`void` `[setMeasureAllChildren](https://developer.android.com/reference/android/widget/FrameLayout.html#setMeasureAllChildren(boolean))(boolean measureAll)`

**This method is deprecated.** Deprecated in Java
`boolean` `[shouldDelayChildPressedState](https://developer.android.com/reference/android/widget/FrameLayout.html#shouldDelayChildPressedState())()`

**This method is deprecated.** Deprecated in Java
From [android.widget.TabHost](https://developer.android.com/reference/android/widget/TabHost.html) `void` `[addTab](https://developer.android.com/reference/android/widget/TabHost.html#addTab(android.widget.TabHost.TabSpec))(https://developer.android.com/reference/android/widget/TabHost.TabSpec.html tabSpec)`

**This method is deprecated.**
`void` `[clearAllTabs](https://developer.android.com/reference/android/widget/TabHost.html#clearAllTabs())()`

**This method is deprecated.**
`boolean` `[dispatchKeyEvent](https://developer.android.com/reference/android/widget/TabHost.html#dispatchKeyEvent(android.view.KeyEvent))(https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.**
`void` `[dispatchWindowFocusChanged](https://developer.android.com/reference/android/widget/TabHost.html#dispatchWindowFocusChanged(boolean))(boolean hasFocus)`

**This method is deprecated.**
`https://developer.android.com/reference/java/lang/CharSequence.html` `[getAccessibilityClassName](https://developer.android.com/reference/android/widget/TabHost.html#getAccessibilityClassName())()`

**This method is deprecated.**
`int` `[getCurrentTab](https://developer.android.com/reference/android/widget/TabHost.html#getCurrentTab())()`

**This method is deprecated.**
`https://developer.android.com/reference/java/lang/String.html` `[getCurrentTabTag](https://developer.android.com/reference/android/widget/TabHost.html#getCurrentTabTag())()`

**This method is deprecated.**
`https://developer.android.com/reference/android/view/View.html` `[getCurrentTabView](https://developer.android.com/reference/android/widget/TabHost.html#getCurrentTabView())()`

**This method is deprecated.**
`https://developer.android.com/reference/android/view/View.html` `[getCurrentView](https://developer.android.com/reference/android/widget/TabHost.html#getCurrentView())()`

**This method is deprecated.**
`https://developer.android.com/reference/android/widget/FrameLayout.html` `[getTabContentView](https://developer.android.com/reference/android/widget/TabHost.html#getTabContentView())()`

**This method is deprecated.**
`https://developer.android.com/reference/android/widget/TabWidget.html` `[getTabWidget](https://developer.android.com/reference/android/widget/TabHost.html#getTabWidget())()`

**This method is deprecated.**
`https://developer.android.com/reference/android/widget/TabHost.TabSpec.html` `[newTabSpec](https://developer.android.com/reference/android/widget/TabHost.html#newTabSpec(java.lang.String))(https://developer.android.com/reference/java/lang/String.html tag)`

**This method is deprecated.**
`void` `[onTouchModeChanged](https://developer.android.com/reference/android/widget/TabHost.html#onTouchModeChanged(boolean))(boolean isInTouchMode)`

**This method is deprecated.**
`void` `[setCurrentTab](https://developer.android.com/reference/android/widget/TabHost.html#setCurrentTab(int))(int index)`

**This method is deprecated.**
`void` `[setCurrentTabByTag](https://developer.android.com/reference/android/widget/TabHost.html#setCurrentTabByTag(java.lang.String))(https://developer.android.com/reference/java/lang/String.html tag)`

**This method is deprecated.**
From [android.view.View](https://developer.android.com/reference/android/view/View.html) `void` `[addOnAttachStateChangeListener](https://developer.android.com/reference/android/view/View.html#addOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener))(
https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[addOnLayoutChangeListener](https://developer.android.com/reference/android/view/View.html#addOnLayoutChangeListener(android.view.View.OnLayoutChangeListener))(https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html listener)`

**This method is deprecated.** Deprecated in Java
`void` `[addOnUnhandledKeyEventListener](https://developer.android.com/reference/android/view/View.html#addOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener))(
https://developer.android.com/reference/android/view/View.OnUnhandledKeyEventListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ViewPropertyAnimator.html` `[animate](https://developer.android.com/reference/android/view/View.html#animate())()`

**This method is deprecated.** Deprecated in Java
`void` `[announceForAccessibility](https://developer.android.com/reference/android/view/View.html#announceForAccessibility(java.lang.CharSequence))(https://developer.android.com/reference/java/lang/CharSequence.html text)`

**This method is deprecated.**
`void` `[autofill](https://developer.android.com/reference/android/view/View.html#autofill(android.util.SparseArray&lt;android.view.autofill.AutofillValue&gt;))(https://developer.android.com/reference/android/util/SparseArray.html<https://developer.android.com/reference/android/view/autofill/AutofillValue.html> values)`

**This method is deprecated.** Deprecated in Java
`boolean` `[awakenScrollBars](https://developer.android.com/reference/android/view/View.html#awakenScrollBars())()`

**This method is deprecated.** Deprecated in Java
`void` `[bringToFront](https://developer.android.com/reference/android/view/View.html#bringToFront())()`

**This method is deprecated.** Deprecated in Java
`void` `[buildDrawingCache](https://developer.android.com/reference/android/view/View.html#buildDrawingCache())()`

**This method is deprecated.**
`void` `[buildLayer](https://developer.android.com/reference/android/view/View.html#buildLayer())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[callOnClick](https://developer.android.com/reference/android/view/View.html#callOnClick())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[canResolveLayoutDirection](https://developer.android.com/reference/android/view/View.html#canResolveLayoutDirection())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[canResolveTextAlignment](https://developer.android.com/reference/android/view/View.html#canResolveTextAlignment())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[canResolveTextDirection](https://developer.android.com/reference/android/view/View.html#canResolveTextDirection())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[canScrollHorizontally](https://developer.android.com/reference/android/view/View.html#canScrollHorizontally(int))(int direction)`

**This method is deprecated.** Deprecated in Java
`boolean` `[canScrollVertically](https://developer.android.com/reference/android/view/View.html#canScrollVertically(int))(int direction)`

**This method is deprecated.** Deprecated in Java
`final void` `[cancelDragAndDrop](https://developer.android.com/reference/android/view/View.html#cancelDragAndDrop())()`

**This method is deprecated.** Deprecated in Java
`void` `[cancelLongPress](https://developer.android.com/reference/android/view/View.html#cancelLongPress())()`

**This method is deprecated.** Deprecated in Java
`final void` `[cancelPendingInputEvents](https://developer.android.com/reference/android/view/View.html#cancelPendingInputEvents())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[checkInputConnectionProxy](https://developer.android.com/reference/android/view/View.html#checkInputConnectionProxy(android.view.View))(https://developer.android.com/reference/android/view/View.html view)`

**This method is deprecated.** Deprecated in Java
`void` `[clearAnimation](https://developer.android.com/reference/android/view/View.html#clearAnimation())()`

**This method is deprecated.** Deprecated in Java
`void` `[clearPendingCredentialRequest](https://developer.android.com/reference/android/view/View.html#clearPendingCredentialRequest())()`

**This method is deprecated.** Deprecated in Java
`void` `[clearViewTranslationCallback](https://developer.android.com/reference/android/view/View.html#clearViewTranslationCallback())()`

**This method is deprecated.** Deprecated in Java
`static int` `[combineMeasuredStates](https://developer.android.com/reference/android/view/View.html#combineMeasuredStates(int, int))(int curState, int newState)`

**This method is deprecated.** Deprecated in Java
`int` `[computeHorizontalScrollExtent](https://developer.android.com/reference/android/view/View.html#computeHorizontalScrollExtent())()`

**This method is deprecated.** Deprecated in Java
`int` `[computeHorizontalScrollOffset](https://developer.android.com/reference/android/view/View.html#computeHorizontalScrollOffset())()`

**This method is deprecated.** Deprecated in Java
`int` `[computeHorizontalScrollRange](https://developer.android.com/reference/android/view/View.html#computeHorizontalScrollRange())()`

**This method is deprecated.** Deprecated in Java
`void` `[computeScroll](https://developer.android.com/reference/android/view/View.html#computeScroll())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowInsets.html` `[computeSystemWindowInsets](https://developer.android.com/reference/android/view/View.html#computeSystemWindowInsets(android.view.WindowInsets, android.graphics.Rect))(https://developer.android.com/reference/android/view/WindowInsets.html in, https://developer.android.com/reference/android/graphics/Rect.html outLocalInsets)`

**This method is deprecated.** Deprecated in Java
`int` `[computeVerticalScrollExtent](https://developer.android.com/reference/android/view/View.html#computeVerticalScrollExtent())()`

**This method is deprecated.** Deprecated in Java
`int` `[computeVerticalScrollOffset](https://developer.android.com/reference/android/view/View.html#computeVerticalScrollOffset())()`

**This method is deprecated.** Deprecated in Java
`int` `[computeVerticalScrollRange](https://developer.android.com/reference/android/view/View.html#computeVerticalScrollRange())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html` `[createAccessibilityNodeInfo](https://developer.android.com/reference/android/view/View.html#createAccessibilityNodeInfo())()`

**This method is deprecated.** Deprecated in Java
`void` `[createContextMenu](https://developer.android.com/reference/android/view/View.html#createContextMenu(android.view.ContextMenu))(https://developer.android.com/reference/android/view/ContextMenu.html menu)`

**This method is deprecated.** Deprecated in Java
`void` `[destroyDrawingCache](https://developer.android.com/reference/android/view/View.html#destroyDrawingCache())()`

**This method is deprecated.**
`boolean` `[dispatchGenericMotionEvent](https://developer.android.com/reference/android/view/View.html#dispatchGenericMotionEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchNestedFling](https://developer.android.com/reference/android/view/View.html#dispatchNestedFling(float, float, boolean))(float velocityX, float velocityY, boolean consumed)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchNestedPreFling](https://developer.android.com/reference/android/view/View.html#dispatchNestedPreFling(float, float))(float velocityX, float velocityY)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchNestedPrePerformAccessibilityAction](https://developer.android.com/reference/android/view/View.html#dispatchNestedPrePerformAccessibilityAction(int, android.os.Bundle))(
int action,
https://developer.android.com/reference/android/os/Bundle.html arguments
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchNestedPreScroll](https://developer.android.com/reference/android/view/View.html#dispatchNestedPreScroll(int, int, int[], int[]))(
int dx,
int dy,
int[] consumed,
int[] offsetInWindow
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchNestedScroll](https://developer.android.com/reference/android/view/View.html#dispatchNestedScroll(int, int, int, int, int[]))(
int dxConsumed,
int dyConsumed,
int dxUnconsumed,
int dyUnconsumed,
int[] offsetInWindow
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchPopulateAccessibilityEvent](https://developer.android.com/reference/android/view/View.html#dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent))(https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[draw](https://developer.android.com/reference/android/view/View.html#draw(android.graphics.Canvas))(https://developer.android.com/reference/android/graphics/Canvas.html canvas)`

**This method is deprecated.** Deprecated in Java
`void` `[drawableHotspotChanged](https://developer.android.com/reference/android/view/View.html#drawableHotspotChanged(float, float))(float x, float y)`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/android/window/OnBackInvokedDispatcher.html` `[findOnBackInvokedDispatcher](https://developer.android.com/reference/android/view/View.html#findOnBackInvokedDispatcher())()`

**This method is deprecated.** Deprecated in Java
`final T` `<T extends https://developer.android.com/reference/android/view/View.html> [findViewById](https://developer.android.com/reference/android/view/View.html#findViewById(int))(int id)`

**This method is deprecated.** Deprecated in Java
`final T` `<T extends https://developer.android.com/reference/android/view/View.html> [findViewWithTag](https://developer.android.com/reference/android/view/View.html#findViewWithTag(java.lang.Object))(https://developer.android.com/reference/java/lang/Object.html tag)`

**This method is deprecated.** Deprecated in Java
`boolean` `[fitSystemWindows](https://developer.android.com/reference/android/view/View.html#fitSystemWindows(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html insets)`

**This method is deprecated.**
`void` `[forceHasOverlappingRendering](https://developer.android.com/reference/android/view/View.html#forceHasOverlappingRendering(boolean))(boolean hasOverlappingRendering)`

**This method is deprecated.** Deprecated in Java
`void` `[forceLayout](https://developer.android.com/reference/android/view/View.html#forceLayout())()`

**This method is deprecated.** Deprecated in Java
`void` `[generateDisplayHash](https://developer.android.com/reference/android/view/View.html#generateDisplayHash(java.lang.String, android.graphics.Rect, java.util.concurrent.Executor, android.view.displayhash.DisplayHashResultCallback))(
https://developer.android.com/reference/java/lang/String.html hashAlgorithm,
https://developer.android.com/reference/android/graphics/Rect.html bounds,
https://developer.android.com/reference/java/util/concurrent/Executor.html executor,
https://developer.android.com/reference/android/view/displayhash/DisplayHashResultCallback.html callback
)`

**This method is deprecated.** Deprecated in Java
`static int` `[generateViewId](https://developer.android.com/reference/android/view/View.html#generateViewId())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.AccessibilityDelegate.html` `[getAccessibilityDelegate](https://developer.android.com/reference/android/view/View.html#getAccessibilityDelegate())()`

**This method is deprecated.** Deprecated in Java
`int` `[getAccessibilityLiveRegion](https://developer.android.com/reference/android/view/View.html#getAccessibilityLiveRegion())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeProvider.html` `[getAccessibilityNodeProvider](https://developer.android.com/reference/android/view/View.html#getAccessibilityNodeProvider())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/CharSequence.html` `[getAccessibilityPaneTitle](https://developer.android.com/reference/android/view/View.html#getAccessibilityPaneTitle())()`

**This method is deprecated.** Deprecated in Java
`int` `[getAccessibilityTraversalAfter](https://developer.android.com/reference/android/view/View.html#getAccessibilityTraversalAfter())()`

**This method is deprecated.** Deprecated in Java
`int` `[getAccessibilityTraversalBefore](https://developer.android.com/reference/android/view/View.html#getAccessibilityTraversalBefore())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/String.html` `[getAllowedHandwritingDelegatePackageName](https://developer.android.com/reference/android/view/View.html#getAllowedHandwritingDelegatePackageName())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/String.html` `[getAllowedHandwritingDelegatorPackageName](https://developer.android.com/reference/android/view/View.html#getAllowedHandwritingDelegatorPackageName())()`

**This method is deprecated.** Deprecated in Java
`float` `[getAlpha](https://developer.android.com/reference/android/view/View.html#getAlpha())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/animation/Animation.html` `[getAnimation](https://developer.android.com/reference/android/view/View.html#getAnimation())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/Matrix.html` `[getAnimationMatrix](https://developer.android.com/reference/android/view/View.html#getAnimationMatrix())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/os/IBinder.html` `[getApplicationWindowToken](https://developer.android.com/reference/android/view/View.html#getApplicationWindowToken())()`

**This method is deprecated.** Deprecated in Java
`int[]` `[getAttributeResolutionStack](https://developer.android.com/reference/android/view/View.html#getAttributeResolutionStack(int))(int attribute)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/lang/Integer.html, https://developer.android.com/reference/java/lang/Integer.html>` `[getAttributeSourceResourceMap](https://developer.android.com/reference/android/view/View.html#getAttributeSourceResourceMap())()`

**This method is deprecated.** Deprecated in Java
`String[]` `[getAutofillHints](https://developer.android.com/reference/android/view/View.html#getAutofillHints())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/android/view/autofill/AutofillId.html` `[getAutofillId](https://developer.android.com/reference/android/view/View.html#getAutofillId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getAutofillType](https://developer.android.com/reference/android/view/View.html#getAutofillType())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/autofill/AutofillValue.html` `[getAutofillValue](https://developer.android.com/reference/android/view/View.html#getAutofillValue())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `[getBackground](https://developer.android.com/reference/android/view/View.html#getBackground())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/BlendMode.html` `[getBackgroundTintBlendMode](https://developer.android.com/reference/android/view/View.html#getBackgroundTintBlendMode())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/content/res/ColorStateList.html` `[getBackgroundTintList](https://developer.android.com/reference/android/view/View.html#getBackgroundTintList())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html` `[getBackgroundTintMode](https://developer.android.com/reference/android/view/View.html#getBackgroundTintMode())()`

**This method is deprecated.** Deprecated in Java
`int` `[getBaseline](https://developer.android.com/reference/android/view/View.html#getBaseline())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getBottom](https://developer.android.com/reference/android/view/View.html#getBottom())()`

**This method is deprecated.** Deprecated in Java
`float` `[getBottomFadingEdgeStrength](https://developer.android.com/reference/android/view/View.html#getBottomFadingEdgeStrength())()`

**This method is deprecated.** Deprecated in Java
`int` `[getBottomPaddingOffset](https://developer.android.com/reference/android/view/View.html#getBottomPaddingOffset())()`

**This method is deprecated.** Deprecated in Java
`float` `[getCameraDistance](https://developer.android.com/reference/android/view/View.html#getCameraDistance())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/Rect.html` `[getClipBounds](https://developer.android.com/reference/android/view/View.html#getClipBounds())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[getClipBounds](https://developer.android.com/reference/android/view/View.html#getClipBounds(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html outRect)`

**This method is deprecated.** Deprecated in Java
`final boolean` `[getClipToOutline](https://developer.android.com/reference/android/view/View.html#getClipToOutline())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/android/view/contentcapture/ContentCaptureSession.html` `[getContentCaptureSession](https://developer.android.com/reference/android/view/View.html#getContentCaptureSession())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/CharSequence.html` `[getContentDescription](https://developer.android.com/reference/android/view/View.html#getContentDescription())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getContentSensitivity](https://developer.android.com/reference/android/view/View.html#getContentSensitivity())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/android/content/Context.html` `[getContext](https://developer.android.com/reference/android/view/View.html#getContext())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html` `[getContextMenuInfo](https://developer.android.com/reference/android/view/View.html#getContextMenuInfo())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[getDefaultFocusHighlightEnabled](https://developer.android.com/reference/android/view/View.html#getDefaultFocusHighlightEnabled())()`

**This method is deprecated.** Deprecated in Java
`static int` `[getDefaultSize](https://developer.android.com/reference/android/view/View.html#getDefaultSize(int, int))(int size, int measureSpec)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/Display.html` `[getDisplay](https://developer.android.com/reference/android/view/View.html#getDisplay())()`

**This method is deprecated.** Deprecated in Java
`final int[]` `[getDrawableState](https://developer.android.com/reference/android/view/View.html#getDrawableState())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/Bitmap.html` `[getDrawingCache](https://developer.android.com/reference/android/view/View.html#getDrawingCache())()`

**This method is deprecated.**
`int` `[getDrawingCacheBackgroundColor](https://developer.android.com/reference/android/view/View.html#getDrawingCacheBackgroundColor())()`

**This method is deprecated.**
`int` `[getDrawingCacheQuality](https://developer.android.com/reference/android/view/View.html#getDrawingCacheQuality())()`

**This method is deprecated.**
`void` `[getDrawingRect](https://developer.android.com/reference/android/view/View.html#getDrawingRect(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html outRect)`

**This method is deprecated.** Deprecated in Java
`long` `[getDrawingTime](https://developer.android.com/reference/android/view/View.html#getDrawingTime())()`

**This method is deprecated.** Deprecated in Java
`float` `[getElevation](https://developer.android.com/reference/android/view/View.html#getElevation())()`

**This method is deprecated.** Deprecated in Java
`int` `[getExplicitStyle](https://developer.android.com/reference/android/view/View.html#getExplicitStyle())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[getFilterTouchesWhenObscured](https://developer.android.com/reference/android/view/View.html#getFilterTouchesWhenObscured())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[getFitsSystemWindows](https://developer.android.com/reference/android/view/View.html#getFitsSystemWindows())()`

**This method is deprecated.** Deprecated in Java
`int` `[getFocusable](https://developer.android.com/reference/android/view/View.html#getFocusable())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/android/view/View.html>` `[getFocusables](https://developer.android.com/reference/android/view/View.html#getFocusables(int))(int direction)`

**This method is deprecated.** Deprecated in Java
`void` `[getFocusedRect](https://developer.android.com/reference/android/view/View.html#getFocusedRect(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html r)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `[getForeground](https://developer.android.com/reference/android/view/View.html#getForeground())()`

**This method is deprecated.** Deprecated in Java
`int` `[getForegroundGravity](https://developer.android.com/reference/android/view/View.html#getForegroundGravity())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/BlendMode.html` `[getForegroundTintBlendMode](https://developer.android.com/reference/android/view/View.html#getForegroundTintBlendMode())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/content/res/ColorStateList.html` `[getForegroundTintList](https://developer.android.com/reference/android/view/View.html#getForegroundTintList())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html` `[getForegroundTintMode](https://developer.android.com/reference/android/view/View.html#getForegroundTintMode())()`

**This method is deprecated.** Deprecated in Java
`float` `[getFrameContentVelocity](https://developer.android.com/reference/android/view/View.html#getFrameContentVelocity())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[getGlobalVisibleRect](https://developer.android.com/reference/android/view/View.html#getGlobalVisibleRect(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html r)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/os/Handler.html` `[getHandler](https://developer.android.com/reference/android/view/View.html#getHandler())()`

**This method is deprecated.** Deprecated in Java
`float` `[getHandwritingBoundsOffsetBottom](https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetBottom())()`

**This method is deprecated.** Deprecated in Java
`float` `[getHandwritingBoundsOffsetLeft](https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetLeft())()`

**This method is deprecated.** Deprecated in Java
`float` `[getHandwritingBoundsOffsetRight](https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetRight())()`

**This method is deprecated.** Deprecated in Java
`float` `[getHandwritingBoundsOffsetTop](https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetTop())()`

**This method is deprecated.** Deprecated in Java
`int` `[getHandwritingDelegateFlags](https://developer.android.com/reference/android/view/View.html#getHandwritingDelegateFlags())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/Runnable.html` `[getHandwritingDelegatorCallback](https://developer.android.com/reference/android/view/View.html#getHandwritingDelegatorCallback())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[getHasOverlappingRendering](https://developer.android.com/reference/android/view/View.html#getHasOverlappingRendering())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getHeight](https://developer.android.com/reference/android/view/View.html#getHeight())()`

**This method is deprecated.** Deprecated in Java
`void` `[getHitRect](https://developer.android.com/reference/android/view/View.html#getHitRect(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html outRect)`

**This method is deprecated.** Deprecated in Java
`int` `[getHorizontalFadingEdgeLength](https://developer.android.com/reference/android/view/View.html#getHorizontalFadingEdgeLength())()`

**This method is deprecated.** Deprecated in Java
`int` `[getHorizontalScrollbarHeight](https://developer.android.com/reference/android/view/View.html#getHorizontalScrollbarHeight())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `[getHorizontalScrollbarThumbDrawable](https://developer.android.com/reference/android/view/View.html#getHorizontalScrollbarThumbDrawable())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `[getHorizontalScrollbarTrackDrawable](https://developer.android.com/reference/android/view/View.html#getHorizontalScrollbarTrackDrawable())()`

**This method is deprecated.** Deprecated in Java
`int` `[getId](https://developer.android.com/reference/android/view/View.html#getId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getImportantForAccessibility](https://developer.android.com/reference/android/view/View.html#getImportantForAccessibility())()`

**This method is deprecated.** Deprecated in Java
`int` `[getImportantForAutofill](https://developer.android.com/reference/android/view/View.html#getImportantForAutofill())()`

**This method is deprecated.** Deprecated in Java
`int` `[getImportantForContentCapture](https://developer.android.com/reference/android/view/View.html#getImportantForContentCapture())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[getKeepScreenOn](https://developer.android.com/reference/android/view/View.html#getKeepScreenOn())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/KeyEvent.DispatcherState.html` `[getKeyDispatcherState](https://developer.android.com/reference/android/view/View.html#getKeyDispatcherState())()`

**This method is deprecated.** Deprecated in Java
`int` `[getLabelFor](https://developer.android.com/reference/android/view/View.html#getLabelFor())()`

**This method is deprecated.** Deprecated in Java
`int` `[getLayerType](https://developer.android.com/reference/android/view/View.html#getLayerType())()`

**This method is deprecated.** Deprecated in Java
`int` `[getLayoutDirection](https://developer.android.com/reference/android/view/View.html#getLayoutDirection())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html` `[getLayoutParams](https://developer.android.com/reference/android/view/View.html#getLayoutParams())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getLeft](https://developer.android.com/reference/android/view/View.html#getLeft())()`

**This method is deprecated.** Deprecated in Java
`float` `[getLeftFadingEdgeStrength](https://developer.android.com/reference/android/view/View.html#getLeftFadingEdgeStrength())()`

**This method is deprecated.** Deprecated in Java
`int` `[getLeftPaddingOffset](https://developer.android.com/reference/android/view/View.html#getLeftPaddingOffset())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[getLocalVisibleRect](https://developer.android.com/reference/android/view/View.html#getLocalVisibleRect(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html r)`

**This method is deprecated.** Deprecated in Java
`void` `[getLocationInSurface](https://developer.android.com/reference/android/view/View.html#getLocationInSurface(int[]))(int[] location)`

**This method is deprecated.** Deprecated in Java
`void` `[getLocationInWindow](https://developer.android.com/reference/android/view/View.html#getLocationInWindow(int[]))(int[] outLocation)`

**This method is deprecated.** Deprecated in Java
`void` `[getLocationOnScreen](https://developer.android.com/reference/android/view/View.html#getLocationOnScreen(int[]))(int[] outLocation)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/Matrix.html` `[getMatrix](https://developer.android.com/reference/android/view/View.html#getMatrix())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getMeasuredHeight](https://developer.android.com/reference/android/view/View.html#getMeasuredHeight())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getMeasuredHeightAndState](https://developer.android.com/reference/android/view/View.html#getMeasuredHeightAndState())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getMeasuredState](https://developer.android.com/reference/android/view/View.html#getMeasuredState())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getMeasuredWidth](https://developer.android.com/reference/android/view/View.html#getMeasuredWidth())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getMeasuredWidthAndState](https://developer.android.com/reference/android/view/View.html#getMeasuredWidthAndState())()`

**This method is deprecated.** Deprecated in Java
`int` `[getMinimumHeight](https://developer.android.com/reference/android/view/View.html#getMinimumHeight())()`

**This method is deprecated.** Deprecated in Java
`int` `[getMinimumWidth](https://developer.android.com/reference/android/view/View.html#getMinimumWidth())()`

**This method is deprecated.** Deprecated in Java
`int` `[getNextClusterForwardId](https://developer.android.com/reference/android/view/View.html#getNextClusterForwardId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getNextFocusDownId](https://developer.android.com/reference/android/view/View.html#getNextFocusDownId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getNextFocusForwardId](https://developer.android.com/reference/android/view/View.html#getNextFocusForwardId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getNextFocusLeftId](https://developer.android.com/reference/android/view/View.html#getNextFocusLeftId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getNextFocusRightId](https://developer.android.com/reference/android/view/View.html#getNextFocusRightId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getNextFocusUpId](https://developer.android.com/reference/android/view/View.html#getNextFocusUpId())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html` `[getOnFocusChangeListener](https://developer.android.com/reference/android/view/View.html#getOnFocusChangeListener())()`

**This method is deprecated.** Deprecated in Java
`int` `[getOutlineAmbientShadowColor](https://developer.android.com/reference/android/view/View.html#getOutlineAmbientShadowColor())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ViewOutlineProvider.html` `[getOutlineProvider](https://developer.android.com/reference/android/view/View.html#getOutlineProvider())()`

**This method is deprecated.** Deprecated in Java
`int` `[getOutlineSpotShadowColor](https://developer.android.com/reference/android/view/View.html#getOutlineSpotShadowColor())()`

**This method is deprecated.** Deprecated in Java
`int` `[getOverScrollMode](https://developer.android.com/reference/android/view/View.html#getOverScrollMode())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ViewOverlay.html` `[getOverlay](https://developer.android.com/reference/android/view/View.html#getOverlay())()`

**This method is deprecated.** Deprecated in Java
`int` `[getPaddingBottom](https://developer.android.com/reference/android/view/View.html#getPaddingBottom())()`

**This method is deprecated.** Deprecated in Java
`int` `[getPaddingEnd](https://developer.android.com/reference/android/view/View.html#getPaddingEnd())()`

**This method is deprecated.** Deprecated in Java
`int` `[getPaddingLeft](https://developer.android.com/reference/android/view/View.html#getPaddingLeft())()`

**This method is deprecated.** Deprecated in Java
`int` `[getPaddingRight](https://developer.android.com/reference/android/view/View.html#getPaddingRight())()`

**This method is deprecated.** Deprecated in Java
`int` `[getPaddingStart](https://developer.android.com/reference/android/view/View.html#getPaddingStart())()`

**This method is deprecated.** Deprecated in Java
`int` `[getPaddingTop](https://developer.android.com/reference/android/view/View.html#getPaddingTop())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/android/view/ViewParent.html` `[getParent](https://developer.android.com/reference/android/view/View.html#getParent())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ViewParent.html` `[getParentForAccessibility](https://developer.android.com/reference/android/view/View.html#getParentForAccessibility())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/android/os/OutcomeReceiver.html<https://developer.android.com/reference/android/credentials/GetCredentialResponse.html, https://developer.android.com/reference/android/credentials/GetCredentialException.html>` `[getPendingCredentialCallback](https://developer.android.com/reference/android/view/View.html#getPendingCredentialCallback())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/android/credentials/GetCredentialRequest.html` `[getPendingCredentialRequest](https://developer.android.com/reference/android/view/View.html#getPendingCredentialRequest())()`

**This method is deprecated.** Deprecated in Java
`float` `[getPivotX](https://developer.android.com/reference/android/view/View.html#getPivotX())()`

**This method is deprecated.** Deprecated in Java
`float` `[getPivotY](https://developer.android.com/reference/android/view/View.html#getPivotY())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/PointerIcon.html` `[getPointerIcon](https://developer.android.com/reference/android/view/View.html#getPointerIcon())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/graphics/Rect.html>` `[getPreferKeepClearRects](https://developer.android.com/reference/android/view/View.html#getPreferKeepClearRects())()`

**This method is deprecated.** Deprecated in Java
`String[]` `[getReceiveContentMimeTypes](https://developer.android.com/reference/android/view/View.html#getReceiveContentMimeTypes())()`

**This method is deprecated.** Deprecated in Java
`float` `[getRequestedFrameRate](https://developer.android.com/reference/android/view/View.html#getRequestedFrameRate())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/content/res/Resources.html` `[getResources](https://developer.android.com/reference/android/view/View.html#getResources())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[getRevealOnFocusHint](https://developer.android.com/reference/android/view/View.html#getRevealOnFocusHint())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getRight](https://developer.android.com/reference/android/view/View.html#getRight())()`

**This method is deprecated.** Deprecated in Java
`float` `[getRightFadingEdgeStrength](https://developer.android.com/reference/android/view/View.html#getRightFadingEdgeStrength())()`

**This method is deprecated.** Deprecated in Java
`int` `[getRightPaddingOffset](https://developer.android.com/reference/android/view/View.html#getRightPaddingOffset())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/AttachedSurfaceControl.html` `[getRootSurfaceControl](https://developer.android.com/reference/android/view/View.html#getRootSurfaceControl())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.html` `[getRootView](https://developer.android.com/reference/android/view/View.html#getRootView())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowInsets.html` `[getRootWindowInsets](https://developer.android.com/reference/android/view/View.html#getRootWindowInsets())()`

**This method is deprecated.** Deprecated in Java
`float` `[getRotation](https://developer.android.com/reference/android/view/View.html#getRotation())()`

**This method is deprecated.** Deprecated in Java
`float` `[getRotationX](https://developer.android.com/reference/android/view/View.html#getRotationX())()`

**This method is deprecated.** Deprecated in Java
`float` `[getRotationY](https://developer.android.com/reference/android/view/View.html#getRotationY())()`

**This method is deprecated.** Deprecated in Java
`float` `[getScaleX](https://developer.android.com/reference/android/view/View.html#getScaleX())()`

**This method is deprecated.** Deprecated in Java
`float` `[getScaleY](https://developer.android.com/reference/android/view/View.html#getScaleY())()`

**This method is deprecated.** Deprecated in Java
`int` `[getScrollBarDefaultDelayBeforeFade](https://developer.android.com/reference/android/view/View.html#getScrollBarDefaultDelayBeforeFade())()`

**This method is deprecated.** Deprecated in Java
`int` `[getScrollBarFadeDuration](https://developer.android.com/reference/android/view/View.html#getScrollBarFadeDuration())()`

**This method is deprecated.** Deprecated in Java
`int` `[getScrollBarSize](https://developer.android.com/reference/android/view/View.html#getScrollBarSize())()`

**This method is deprecated.** Deprecated in Java
`int` `[getScrollBarStyle](https://developer.android.com/reference/android/view/View.html#getScrollBarStyle())()`

**This method is deprecated.** Deprecated in Java
`int` `[getScrollCaptureHint](https://developer.android.com/reference/android/view/View.html#getScrollCaptureHint())()`

**This method is deprecated.** Deprecated in Java
`int` `[getScrollIndicators](https://developer.android.com/reference/android/view/View.html#getScrollIndicators())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getScrollX](https://developer.android.com/reference/android/view/View.html#getScrollX())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getScrollY](https://developer.android.com/reference/android/view/View.html#getScrollY())()`

**This method is deprecated.** Deprecated in Java
`int` `[getSolidColor](https://developer.android.com/reference/android/view/View.html#getSolidColor())()`

**This method is deprecated.** Deprecated in Java
`int` `[getSourceLayoutResId](https://developer.android.com/reference/android/view/View.html#getSourceLayoutResId())()`

**This method is deprecated.** Deprecated in Java
`final https://developer.android.com/reference/java/lang/CharSequence.html` `[getStateDescription](https://developer.android.com/reference/android/view/View.html#getStateDescription())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/animation/StateListAnimator.html` `[getStateListAnimator](https://developer.android.com/reference/android/view/View.html#getStateListAnimator())()`

**This method is deprecated.** Deprecated in Java
`int` `[getSuggestedMinimumHeight](https://developer.android.com/reference/android/view/View.html#getSuggestedMinimumHeight())()`

**This method is deprecated.** Deprecated in Java
`int` `[getSuggestedMinimumWidth](https://developer.android.com/reference/android/view/View.html#getSuggestedMinimumWidth())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/CharSequence.html` `[getSupplementalDescription](https://developer.android.com/reference/android/view/View.html#getSupplementalDescription())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/graphics/Rect.html>` `[getSystemGestureExclusionRects](https://developer.android.com/reference/android/view/View.html#getSystemGestureExclusionRects())()`

**This method is deprecated.** Deprecated in Java
`int` `[getSystemUiVisibility](https://developer.android.com/reference/android/view/View.html#getSystemUiVisibility())()`

**This method is deprecated.**
`https://developer.android.com/reference/java/lang/Object.html` `[getTag](https://developer.android.com/reference/android/view/View.html#getTag())()`

**This method is deprecated.** Deprecated in Java
`int` `[getTextAlignment](https://developer.android.com/reference/android/view/View.html#getTextAlignment())()`

**This method is deprecated.** Deprecated in Java
`int` `[getTextDirection](https://developer.android.com/reference/android/view/View.html#getTextDirection())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/CharSequence.html` `[getTooltipText](https://developer.android.com/reference/android/view/View.html#getTooltipText())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getTop](https://developer.android.com/reference/android/view/View.html#getTop())()`

**This method is deprecated.** Deprecated in Java
`float` `[getTopFadingEdgeStrength](https://developer.android.com/reference/android/view/View.html#getTopFadingEdgeStrength())()`

**This method is deprecated.** Deprecated in Java
`int` `[getTopPaddingOffset](https://developer.android.com/reference/android/view/View.html#getTopPaddingOffset())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/TouchDelegate.html` `[getTouchDelegate](https://developer.android.com/reference/android/view/View.html#getTouchDelegate())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/android/view/View.html>` `[getTouchables](https://developer.android.com/reference/android/view/View.html#getTouchables())()`

**This method is deprecated.** Deprecated in Java
`float` `[getTransitionAlpha](https://developer.android.com/reference/android/view/View.html#getTransitionAlpha())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/String.html` `[getTransitionName](https://developer.android.com/reference/android/view/View.html#getTransitionName())()`

**This method is deprecated.** Deprecated in Java
`float` `[getTranslationX](https://developer.android.com/reference/android/view/View.html#getTranslationX())()`

**This method is deprecated.** Deprecated in Java
`float` `[getTranslationY](https://developer.android.com/reference/android/view/View.html#getTranslationY())()`

**This method is deprecated.** Deprecated in Java
`float` `[getTranslationZ](https://developer.android.com/reference/android/view/View.html#getTranslationZ())()`

**This method is deprecated.** Deprecated in Java
`long` `[getUniqueDrawingId](https://developer.android.com/reference/android/view/View.html#getUniqueDrawingId())()`

**This method is deprecated.** Deprecated in Java
`int` `[getVerticalFadingEdgeLength](https://developer.android.com/reference/android/view/View.html#getVerticalFadingEdgeLength())()`

**This method is deprecated.** Deprecated in Java
`int` `[getVerticalScrollbarPosition](https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarPosition())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `[getVerticalScrollbarThumbDrawable](https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarThumbDrawable())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `[getVerticalScrollbarTrackDrawable](https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarTrackDrawable())()`

**This method is deprecated.** Deprecated in Java
`int` `[getVerticalScrollbarWidth](https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarWidth())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/translation/ViewTranslationResponse.html` `[getViewTranslationResponse](https://developer.android.com/reference/android/view/View.html#getViewTranslationResponse())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ViewTreeObserver.html` `[getViewTreeObserver](https://developer.android.com/reference/android/view/View.html#getViewTreeObserver())()`

**This method is deprecated.** Deprecated in Java
`int` `[getVisibility](https://developer.android.com/reference/android/view/View.html#getVisibility())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getWidth](https://developer.android.com/reference/android/view/View.html#getWidth())()`

**This method is deprecated.** Deprecated in Java
`int` `[getWindowAttachCount](https://developer.android.com/reference/android/view/View.html#getWindowAttachCount())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowId.html` `[getWindowId](https://developer.android.com/reference/android/view/View.html#getWindowId())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowInsetsController.html` `[getWindowInsetsController](https://developer.android.com/reference/android/view/View.html#getWindowInsetsController())()`

**This method is deprecated.** Deprecated in Java
`int` `[getWindowSystemUiVisibility](https://developer.android.com/reference/android/view/View.html#getWindowSystemUiVisibility())()`

**This method is deprecated.**
`https://developer.android.com/reference/android/os/IBinder.html` `[getWindowToken](https://developer.android.com/reference/android/view/View.html#getWindowToken())()`

**This method is deprecated.** Deprecated in Java
`int` `[getWindowVisibility](https://developer.android.com/reference/android/view/View.html#getWindowVisibility())()`

**This method is deprecated.** Deprecated in Java
`void` `[getWindowVisibleDisplayFrame](https://developer.android.com/reference/android/view/View.html#getWindowVisibleDisplayFrame(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html outRect)`

**This method is deprecated.** Deprecated in Java
`float` `[getX](https://developer.android.com/reference/android/view/View.html#getX())()`

**This method is deprecated.** Deprecated in Java
`float` `[getY](https://developer.android.com/reference/android/view/View.html#getY())()`

**This method is deprecated.** Deprecated in Java
`float` `[getZ](https://developer.android.com/reference/android/view/View.html#getZ())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasExplicitFocusable](https://developer.android.com/reference/android/view/View.html#hasExplicitFocusable())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasFocusable](https://developer.android.com/reference/android/view/View.html#hasFocusable())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasNestedScrollingParent](https://developer.android.com/reference/android/view/View.html#hasNestedScrollingParent())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasOnClickListeners](https://developer.android.com/reference/android/view/View.html#hasOnClickListeners())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasOnLongClickListeners](https://developer.android.com/reference/android/view/View.html#hasOnLongClickListeners())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasOverlappingRendering](https://developer.android.com/reference/android/view/View.html#hasOverlappingRendering())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasPointerCapture](https://developer.android.com/reference/android/view/View.html#hasPointerCapture())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasWindowFocus](https://developer.android.com/reference/android/view/View.html#hasWindowFocus())()`

**This method is deprecated.** Deprecated in Java
`static https://developer.android.com/reference/android/view/View.html` `[inflate](https://developer.android.com/reference/android/view/View.html#inflate(android.content.Context, int, android.view.ViewGroup))(https://developer.android.com/reference/android/content/Context.html context, int resource, https://developer.android.com/reference/android/view/ViewGroup.html root)`

**This method is deprecated.** Deprecated in Java
`void` `[invalidate](https://developer.android.com/reference/android/view/View.html#invalidate())()`

**This method is deprecated.** Deprecated in Java
`void` `[invalidateDrawable](https://developer.android.com/reference/android/view/View.html#invalidateDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)`

**This method is deprecated.** Deprecated in Java
`void` `[invalidateOutline](https://developer.android.com/reference/android/view/View.html#invalidateOutline())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isAccessibilityDataSensitive](https://developer.android.com/reference/android/view/View.html#isAccessibilityDataSensitive())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isAccessibilityFocused](https://developer.android.com/reference/android/view/View.html#isAccessibilityFocused())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isAccessibilityHeading](https://developer.android.com/reference/android/view/View.html#isAccessibilityHeading())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isActivated](https://developer.android.com/reference/android/view/View.html#isActivated())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isAttachedToWindow](https://developer.android.com/reference/android/view/View.html#isAttachedToWindow())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isAutoHandwritingEnabled](https://developer.android.com/reference/android/view/View.html#isAutoHandwritingEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isClickable](https://developer.android.com/reference/android/view/View.html#isClickable())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isContentSensitive](https://developer.android.com/reference/android/view/View.html#isContentSensitive())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isContextClickable](https://developer.android.com/reference/android/view/View.html#isContextClickable())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isCredential](https://developer.android.com/reference/android/view/View.html#isCredential())()`

**This method is deprecated.**
`boolean` `[isDirty](https://developer.android.com/reference/android/view/View.html#isDirty())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isDrawingCacheEnabled](https://developer.android.com/reference/android/view/View.html#isDrawingCacheEnabled())()`

**This method is deprecated.**
`boolean` `[isDuplicateParentStateEnabled](https://developer.android.com/reference/android/view/View.html#isDuplicateParentStateEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isEnabled](https://developer.android.com/reference/android/view/View.html#isEnabled())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isFocusable](https://developer.android.com/reference/android/view/View.html#isFocusable())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isFocusableInTouchMode](https://developer.android.com/reference/android/view/View.html#isFocusableInTouchMode())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isFocused](https://developer.android.com/reference/android/view/View.html#isFocused())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isFocusedByDefault](https://developer.android.com/reference/android/view/View.html#isFocusedByDefault())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isForceDarkAllowed](https://developer.android.com/reference/android/view/View.html#isForceDarkAllowed())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isHandwritingDelegate](https://developer.android.com/reference/android/view/View.html#isHandwritingDelegate())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isHapticFeedbackEnabled](https://developer.android.com/reference/android/view/View.html#isHapticFeedbackEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isHardwareAccelerated](https://developer.android.com/reference/android/view/View.html#isHardwareAccelerated())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isHorizontalFadingEdgeEnabled](https://developer.android.com/reference/android/view/View.html#isHorizontalFadingEdgeEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isHorizontalScrollBarEnabled](https://developer.android.com/reference/android/view/View.html#isHorizontalScrollBarEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isHovered](https://developer.android.com/reference/android/view/View.html#isHovered())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isImportantForAccessibility](https://developer.android.com/reference/android/view/View.html#isImportantForAccessibility())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isImportantForAutofill](https://developer.android.com/reference/android/view/View.html#isImportantForAutofill())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isImportantForContentCapture](https://developer.android.com/reference/android/view/View.html#isImportantForContentCapture())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isInEditMode](https://developer.android.com/reference/android/view/View.html#isInEditMode())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isInLayout](https://developer.android.com/reference/android/view/View.html#isInLayout())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isInTouchMode](https://developer.android.com/reference/android/view/View.html#isInTouchMode())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isKeyboardNavigationCluster](https://developer.android.com/reference/android/view/View.html#isKeyboardNavigationCluster())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isLaidOut](https://developer.android.com/reference/android/view/View.html#isLaidOut())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isLayoutDirectionResolved](https://developer.android.com/reference/android/view/View.html#isLayoutDirectionResolved())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isLayoutRequested](https://developer.android.com/reference/android/view/View.html#isLayoutRequested())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isLongClickable](https://developer.android.com/reference/android/view/View.html#isLongClickable())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isNestedScrollingEnabled](https://developer.android.com/reference/android/view/View.html#isNestedScrollingEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isOpaque](https://developer.android.com/reference/android/view/View.html#isOpaque())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isPaddingOffsetRequired](https://developer.android.com/reference/android/view/View.html#isPaddingOffsetRequired())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isPaddingRelative](https://developer.android.com/reference/android/view/View.html#isPaddingRelative())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isPivotSet](https://developer.android.com/reference/android/view/View.html#isPivotSet())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isPreferKeepClear](https://developer.android.com/reference/android/view/View.html#isPreferKeepClear())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isPressed](https://developer.android.com/reference/android/view/View.html#isPressed())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isSaveEnabled](https://developer.android.com/reference/android/view/View.html#isSaveEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isSaveFromParentEnabled](https://developer.android.com/reference/android/view/View.html#isSaveFromParentEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isScreenReaderFocusable](https://developer.android.com/reference/android/view/View.html#isScreenReaderFocusable())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isScrollContainer](https://developer.android.com/reference/android/view/View.html#isScrollContainer())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isScrollbarFadingEnabled](https://developer.android.com/reference/android/view/View.html#isScrollbarFadingEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isSelected](https://developer.android.com/reference/android/view/View.html#isSelected())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isShowingLayoutBounds](https://developer.android.com/reference/android/view/View.html#isShowingLayoutBounds())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isShown](https://developer.android.com/reference/android/view/View.html#isShown())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isSoundEffectsEnabled](https://developer.android.com/reference/android/view/View.html#isSoundEffectsEnabled())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `[isTemporarilyDetached](https://developer.android.com/reference/android/view/View.html#isTemporarilyDetached())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isTextAlignmentResolved](https://developer.android.com/reference/android/view/View.html#isTextAlignmentResolved())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isTextDirectionResolved](https://developer.android.com/reference/android/view/View.html#isTextDirectionResolved())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isVerticalFadingEdgeEnabled](https://developer.android.com/reference/android/view/View.html#isVerticalFadingEdgeEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isVerticalScrollBarEnabled](https://developer.android.com/reference/android/view/View.html#isVerticalScrollBarEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isVisibleToUserForAutofill](https://developer.android.com/reference/android/view/View.html#isVisibleToUserForAutofill(int))(int virtualId)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.html` `[keyboardNavigationClusterSearch](https://developer.android.com/reference/android/view/View.html#keyboardNavigationClusterSearch(android.view.View, int))(https://developer.android.com/reference/android/view/View.html currentCluster, int direction)`

**This method is deprecated.** Deprecated in Java
`final void` `[measure](https://developer.android.com/reference/android/view/View.html#measure(int, int))(int widthMeasureSpec, int heightMeasureSpec)`

**This method is deprecated.** Deprecated in Java
`static int[]` `[mergeDrawableStates](https://developer.android.com/reference/android/view/View.html#mergeDrawableStates(int[], int[]))(int[] baseState, int[] additionalState)`

**This method is deprecated.** Deprecated in Java
`void` `[offsetLeftAndRight](https://developer.android.com/reference/android/view/View.html#offsetLeftAndRight(int))(int offset)`

**This method is deprecated.** Deprecated in Java
`void` `[offsetTopAndBottom](https://developer.android.com/reference/android/view/View.html#offsetTopAndBottom(int))(int offset)`

**This method is deprecated.** Deprecated in Java
`void` `[onAnimationEnd](https://developer.android.com/reference/android/view/View.html#onAnimationEnd())()`

**This method is deprecated.** Deprecated in Java
`void` `[onAnimationStart](https://developer.android.com/reference/android/view/View.html#onAnimationStart())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowInsets.html` `[onApplyWindowInsets](https://developer.android.com/reference/android/view/View.html#onApplyWindowInsets(android.view.WindowInsets))(https://developer.android.com/reference/android/view/WindowInsets.html insets)`

**This method is deprecated.** Deprecated in Java
`void` `[onCancelPendingInputEvents](https://developer.android.com/reference/android/view/View.html#onCancelPendingInputEvents())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[onCapturedPointerEvent](https://developer.android.com/reference/android/view/View.html#onCapturedPointerEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onCheckIsTextEditor](https://developer.android.com/reference/android/view/View.html#onCheckIsTextEditor())()`

**This method is deprecated.** Deprecated in Java
`void` `[onConfigurationChanged](https://developer.android.com/reference/android/view/View.html#onConfigurationChanged(android.content.res.Configuration))(https://developer.android.com/reference/android/content/res/Configuration.html newConfig)`

**This method is deprecated.** Deprecated in Java
`void` `[onCreateContextMenu](https://developer.android.com/reference/android/view/View.html#onCreateContextMenu(android.view.ContextMenu))(https://developer.android.com/reference/android/view/ContextMenu.html menu)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/inputmethod/InputConnection.html` `[onCreateInputConnection](https://developer.android.com/reference/android/view/View.html#onCreateInputConnection(android.view.inputmethod.EditorInfo))(https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html outAttrs)`

**This method is deprecated.** Deprecated in Java
`void` `[onCreateViewTranslationRequest](https://developer.android.com/reference/android/view/View.html#onCreateViewTranslationRequest(int[], java.util.function.Consumer&lt;android.view.translation.ViewTranslationRequest&gt;))(
int[] supportedFormats,
https://developer.android.com/reference/java/util/function/Consumer.html<https://developer.android.com/reference/android/view/translation/ViewTranslationRequest.html> requestsCollector
)`

**This method is deprecated.** Deprecated in Java
`void` `[onCreateVirtualViewTranslationRequests](https://developer.android.com/reference/android/view/View.html#onCreateVirtualViewTranslationRequests(long[], int[], java.util.function.Consumer&lt;android.view.translation.ViewTranslationRequest&gt;))(
long[] virtualIds,
int[] supportedFormats,
https://developer.android.com/reference/java/util/function/Consumer.html<https://developer.android.com/reference/android/view/translation/ViewTranslationRequest.html> requestsCollector
)`

**This method is deprecated.** Deprecated in Java
`void` `[onDisplayHint](https://developer.android.com/reference/android/view/View.html#onDisplayHint(int))(int hint)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onDragEvent](https://developer.android.com/reference/android/view/View.html#onDragEvent(android.view.DragEvent))(https://developer.android.com/reference/android/view/DragEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onDraw](https://developer.android.com/reference/android/view/View.html#onDraw(android.graphics.Canvas))(https://developer.android.com/reference/android/graphics/Canvas.html canvas)`

**This method is deprecated.** Deprecated in Java
`void` `[onDrawForeground](https://developer.android.com/reference/android/view/View.html#onDrawForeground(android.graphics.Canvas))(https://developer.android.com/reference/android/graphics/Canvas.html canvas)`

**This method is deprecated.** Deprecated in Java
`final void` `[onDrawScrollBars](https://developer.android.com/reference/android/view/View.html#onDrawScrollBars(android.graphics.Canvas))(https://developer.android.com/reference/android/graphics/Canvas.html canvas)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onFilterTouchEventForSecurity](https://developer.android.com/reference/android/view/View.html#onFilterTouchEventForSecurity(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onFinishInflate](https://developer.android.com/reference/android/view/View.html#onFinishInflate())()`

**This method is deprecated.** Deprecated in Java
`void` `[onFinishTemporaryDetach](https://developer.android.com/reference/android/view/View.html#onFinishTemporaryDetach())()`

**This method is deprecated.** Deprecated in Java
`void` `[onFocusChanged](https://developer.android.com/reference/android/view/View.html#onFocusChanged(boolean, int, android.graphics.Rect))(
boolean gainFocus,
int direction,
https://developer.android.com/reference/android/graphics/Rect.html previouslyFocusedRect
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onGenericMotionEvent](https://developer.android.com/reference/android/view/View.html#onGenericMotionEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onHoverChanged](https://developer.android.com/reference/android/view/View.html#onHoverChanged(boolean))(boolean hovered)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onHoverEvent](https://developer.android.com/reference/android/view/View.html#onHoverEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onInitializeAccessibilityEvent](https://developer.android.com/reference/android/view/View.html#onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent))(https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onInitializeAccessibilityNodeInfo](https://developer.android.com/reference/android/view/View.html#onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo))(https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html info)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onKeyDown](https://developer.android.com/reference/android/view/View.html#onKeyDown(int, android.view.KeyEvent))(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onKeyLongPress](https://developer.android.com/reference/android/view/View.html#onKeyLongPress(int, android.view.KeyEvent))(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onKeyMultiple](https://developer.android.com/reference/android/view/View.html#onKeyMultiple(int, int, android.view.KeyEvent))(int keyCode, int repeatCount, https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onKeyPreIme](https://developer.android.com/reference/android/view/View.html#onKeyPreIme(int, android.view.KeyEvent))(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onKeyShortcut](https://developer.android.com/reference/android/view/View.html#onKeyShortcut(int, android.view.KeyEvent))(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onKeyUp](https://developer.android.com/reference/android/view/View.html#onKeyUp(int, android.view.KeyEvent))(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onOverScrolled](https://developer.android.com/reference/android/view/View.html#onOverScrolled(int, int, boolean, boolean))(
int scrollX,
int scrollY,
boolean clampedX,
boolean clampedY
)`

**This method is deprecated.** Deprecated in Java
`void` `[onPointerCaptureChange](https://developer.android.com/reference/android/view/View.html#onPointerCaptureChange(boolean))(boolean hasCapture)`

**This method is deprecated.** Deprecated in Java
`void` `[onPopulateAccessibilityEvent](https://developer.android.com/reference/android/view/View.html#onPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent))(https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onProvideAutofillStructure](https://developer.android.com/reference/android/view/View.html#onProvideAutofillStructure(android.view.ViewStructure, int))(https://developer.android.com/reference/android/view/ViewStructure.html structure, int flags)`

**This method is deprecated.** Deprecated in Java
`void` `[onProvideAutofillVirtualStructure](https://developer.android.com/reference/android/view/View.html#onProvideAutofillVirtualStructure(android.view.ViewStructure, int))(https://developer.android.com/reference/android/view/ViewStructure.html structure, int flags)`

**This method is deprecated.** Deprecated in Java
`void` `[onProvideContentCaptureStructure](https://developer.android.com/reference/android/view/View.html#onProvideContentCaptureStructure(android.view.ViewStructure, int))(https://developer.android.com/reference/android/view/ViewStructure.html structure, int flags)`

**This method is deprecated.** Deprecated in Java
`void` `[onProvideStructure](https://developer.android.com/reference/android/view/View.html#onProvideStructure(android.view.ViewStructure))(https://developer.android.com/reference/android/view/ViewStructure.html structure)`

**This method is deprecated.** Deprecated in Java
`void` `[onProvideVirtualStructure](https://developer.android.com/reference/android/view/View.html#onProvideVirtualStructure(android.view.ViewStructure))(https://developer.android.com/reference/android/view/ViewStructure.html structure)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ContentInfo.html` `[onReceiveContent](https://developer.android.com/reference/android/view/View.html#onReceiveContent(android.view.ContentInfo))(https://developer.android.com/reference/android/view/ContentInfo.html payload)`

**This method is deprecated.** Deprecated in Java
`void` `[onRtlPropertiesChanged](https://developer.android.com/reference/android/view/View.html#onRtlPropertiesChanged(int))(int layoutDirection)`

**This method is deprecated.** Deprecated in Java
`void` `[onScreenStateChanged](https://developer.android.com/reference/android/view/View.html#onScreenStateChanged(int))(int screenState)`

**This method is deprecated.** Deprecated in Java
`void` `[onScrollCaptureSearch](https://developer.android.com/reference/android/view/View.html#onScrollCaptureSearch(android.graphics.Rect, android.graphics.Point, java.util.function.Consumer&lt;android.view.ScrollCaptureTarget&gt;))(
https://developer.android.com/reference/android/graphics/Rect.html localVisibleRect,
https://developer.android.com/reference/android/graphics/Point.html windowOffset,
https://developer.android.com/reference/java/util/function/Consumer.html<https://developer.android.com/reference/android/view/ScrollCaptureTarget.html> targets
)`

**This method is deprecated.** Deprecated in Java
`void` `[onScrollChanged](https://developer.android.com/reference/android/view/View.html#onScrollChanged(int, int, int, int))(int l, int t, int oldl, int oldt)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onSetAlpha](https://developer.android.com/reference/android/view/View.html#onSetAlpha(int))(int alpha)`

**This method is deprecated.** Deprecated in Java
`void` `[onSizeChanged](https://developer.android.com/reference/android/view/View.html#onSizeChanged(int, int, int, int))(int w, int h, int oldw, int oldh)`

**This method is deprecated.** Deprecated in Java
`void` `[onStartTemporaryDetach](https://developer.android.com/reference/android/view/View.html#onStartTemporaryDetach())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[onTouchEvent](https://developer.android.com/reference/android/view/View.html#onTouchEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onTrackballEvent](https://developer.android.com/reference/android/view/View.html#onTrackballEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[onViewTranslationResponse](https://developer.android.com/reference/android/view/View.html#onViewTranslationResponse(android.view.translation.ViewTranslationResponse))(https://developer.android.com/reference/android/view/translation/ViewTranslationResponse.html response)`

**This method is deprecated.** Deprecated in Java
`void` `[onVirtualViewTranslationResponses](https://developer.android.com/reference/android/view/View.html#onVirtualViewTranslationResponses(android.util.LongSparseArray&lt;android.view.translation.ViewTranslationResponse&gt;))(
https://developer.android.com/reference/android/util/LongSparseArray.html<https://developer.android.com/reference/android/view/translation/ViewTranslationResponse.html> response
)`

**This method is deprecated.** Deprecated in Java
`void` `[onVisibilityAggregated](https://developer.android.com/reference/android/view/View.html#onVisibilityAggregated(boolean))(boolean isVisible)`

**This method is deprecated.** Deprecated in Java
`void` `[onVisibilityChanged](https://developer.android.com/reference/android/view/View.html#onVisibilityChanged(android.view.View, int))(https://developer.android.com/reference/android/view/View.html changedView, int visibility)`

**This method is deprecated.** Deprecated in Java
`void` `[onWindowFocusChanged](https://developer.android.com/reference/android/view/View.html#onWindowFocusChanged(boolean))(boolean hasWindowFocus)`

**This method is deprecated.** Deprecated in Java
`void` `[onWindowSystemUiVisibilityChanged](https://developer.android.com/reference/android/view/View.html#onWindowSystemUiVisibilityChanged(int))(int visible)`

**This method is deprecated.**
`void` `[onWindowVisibilityChanged](https://developer.android.com/reference/android/view/View.html#onWindowVisibilityChanged(int))(int visibility)`

**This method is deprecated.** Deprecated in Java
`boolean` `[overScrollBy](https://developer.android.com/reference/android/view/View.html#overScrollBy(int, int, int, int, int, int, int, int, boolean))(
int deltaX,
int deltaY,
int scrollX,
int scrollY,
int scrollRangeX,
int scrollRangeY,
int maxOverScrollX,
int maxOverScrollY,
boolean isTouchEvent
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[performAccessibilityAction](https://developer.android.com/reference/android/view/View.html#performAccessibilityAction(int, android.os.Bundle))(int action, https://developer.android.com/reference/android/os/Bundle.html arguments)`

**This method is deprecated.** Deprecated in Java
`boolean` `[performClick](https://developer.android.com/reference/android/view/View.html#performClick())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[performContextClick](https://developer.android.com/reference/android/view/View.html#performContextClick())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[performHapticFeedback](https://developer.android.com/reference/android/view/View.html#performHapticFeedback(android.os.vibrator.HapticFeedbackRequest))(https://developer.android.com/reference/android/os/vibrator/HapticFeedbackRequest.html request)`

**This method is deprecated.** Deprecated in Java
`boolean` `[performLongClick](https://developer.android.com/reference/android/view/View.html#performLongClick())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ContentInfo.html` `[performReceiveContent](https://developer.android.com/reference/android/view/View.html#performReceiveContent(android.view.ContentInfo))(https://developer.android.com/reference/android/view/ContentInfo.html payload)`

**This method is deprecated.** Deprecated in Java
`void` `[playSoundEffect](https://developer.android.com/reference/android/view/View.html#playSoundEffect(int))(int soundConstant)`

**This method is deprecated.** Deprecated in Java
`boolean` `[post](https://developer.android.com/reference/android/view/View.html#post(java.lang.Runnable))(https://developer.android.com/reference/java/lang/Runnable.html action)`

**This method is deprecated.** Deprecated in Java
`boolean` `[postDelayed](https://developer.android.com/reference/android/view/View.html#postDelayed(java.lang.Runnable, long))(https://developer.android.com/reference/java/lang/Runnable.html action, long delayMillis)`

**This method is deprecated.** Deprecated in Java
`void` `[postInvalidate](https://developer.android.com/reference/android/view/View.html#postInvalidate())()`

**This method is deprecated.** Deprecated in Java
`void` `[postInvalidateDelayed](https://developer.android.com/reference/android/view/View.html#postInvalidateDelayed(long))(long delayMilliseconds)`

**This method is deprecated.** Deprecated in Java
`void` `[postInvalidateOnAnimation](https://developer.android.com/reference/android/view/View.html#postInvalidateOnAnimation())()`

**This method is deprecated.** Deprecated in Java
`void` `[postOnAnimation](https://developer.android.com/reference/android/view/View.html#postOnAnimation(java.lang.Runnable))(https://developer.android.com/reference/java/lang/Runnable.html action)`

**This method is deprecated.** Deprecated in Java
`void` `[postOnAnimationDelayed](https://developer.android.com/reference/android/view/View.html#postOnAnimationDelayed(java.lang.Runnable, long))(https://developer.android.com/reference/java/lang/Runnable.html action, long delayMillis)`

**This method is deprecated.** Deprecated in Java
`void` `[refreshDrawableState](https://developer.android.com/reference/android/view/View.html#refreshDrawableState())()`

**This method is deprecated.** Deprecated in Java
`static void` `[registerCalledFromWrongThreadListener](https://developer.android.com/reference/android/view/View.html#registerCalledFromWrongThreadListener(android.view.View.CalledFromWrongThreadListener))(
https://developer.android.com/reference/android/view/View.CalledFromWrongThreadListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[releasePointerCapture](https://developer.android.com/reference/android/view/View.html#releasePointerCapture())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[removeCallbacks](https://developer.android.com/reference/android/view/View.html#removeCallbacks(java.lang.Runnable))(https://developer.android.com/reference/java/lang/Runnable.html action)`

**This method is deprecated.** Deprecated in Java
`void` `[removeOnAttachStateChangeListener](https://developer.android.com/reference/android/view/View.html#removeOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener))(
https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[removeOnLayoutChangeListener](https://developer.android.com/reference/android/view/View.html#removeOnLayoutChangeListener(android.view.View.OnLayoutChangeListener))(https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html listener)`

**This method is deprecated.** Deprecated in Java
`void` `[removeOnUnhandledKeyEventListener](https://developer.android.com/reference/android/view/View.html#removeOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener))(
https://developer.android.com/reference/android/view/View.OnUnhandledKeyEventListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[reportAppJankStats](https://developer.android.com/reference/android/view/View.html#reportAppJankStats(android.app.jank.AppJankStats))(https://developer.android.com/reference/android/app/jank/AppJankStats.html appJankStats)`

**This method is deprecated.** Deprecated in Java
`void` `[requestApplyInsets](https://developer.android.com/reference/android/view/View.html#requestApplyInsets())()`

**This method is deprecated.** Deprecated in Java
`void` `[requestFitSystemWindows](https://developer.android.com/reference/android/view/View.html#requestFitSystemWindows())()`

**This method is deprecated.**
`final boolean` `[requestFocusFromTouch](https://developer.android.com/reference/android/view/View.html#requestFocusFromTouch())()`

**This method is deprecated.** Deprecated in Java
`void` `[requestLayout](https://developer.android.com/reference/android/view/View.html#requestLayout())()`

**This method is deprecated.** Deprecated in Java
`void` `[requestPointerCapture](https://developer.android.com/reference/android/view/View.html#requestPointerCapture())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[requestRectangleOnScreen](https://developer.android.com/reference/android/view/View.html#requestRectangleOnScreen(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html rectangle)`

**This method is deprecated.** Deprecated in Java
`final void` `[requestUnbufferedDispatch](https://developer.android.com/reference/android/view/View.html#requestUnbufferedDispatch(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`final T` `<T extends https://developer.android.com/reference/android/view/View.html> [requireViewById](https://developer.android.com/reference/android/view/View.html#requireViewById(int))(int id)`

**This method is deprecated.** Deprecated in Java
`void` `[resetPivot](https://developer.android.com/reference/android/view/View.html#resetPivot())()`

**This method is deprecated.** Deprecated in Java
`static int` `[resolveSize](https://developer.android.com/reference/android/view/View.html#resolveSize(int, int))(int size, int measureSpec)`

**This method is deprecated.** Deprecated in Java
`static int` `[resolveSizeAndState](https://developer.android.com/reference/android/view/View.html#resolveSizeAndState(int, int, int))(int size, int measureSpec, int childMeasuredState)`

**This method is deprecated.** Deprecated in Java
`void` `[restoreHierarchyState](https://developer.android.com/reference/android/view/View.html#restoreHierarchyState(android.util.SparseArray&lt;android.os.Parcelable&gt;))(https://developer.android.com/reference/android/util/SparseArray.html<https://developer.android.com/reference/android/os/Parcelable.html> container)`

**This method is deprecated.** Deprecated in Java
`final void` `[saveAttributeDataForStyleable](https://developer.android.com/reference/android/view/View.html#saveAttributeDataForStyleable(android.content.Context, int[], android.util.AttributeSet, android.content.res.TypedArray, int, int))(
https://developer.android.com/reference/android/content/Context.html context,
int[] styleable,
https://developer.android.com/reference/android/util/AttributeSet.html attrs,
https://developer.android.com/reference/android/content/res/TypedArray.html t,
int defStyleAttr,
int defStyleRes
)`

**This method is deprecated.** Deprecated in Java
`void` `[saveHierarchyState](https://developer.android.com/reference/android/view/View.html#saveHierarchyState(android.util.SparseArray&lt;android.os.Parcelable&gt;))(https://developer.android.com/reference/android/util/SparseArray.html<https://developer.android.com/reference/android/os/Parcelable.html> container)`

**This method is deprecated.** Deprecated in Java
`void` `[scheduleDrawable](https://developer.android.com/reference/android/view/View.html#scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html who, https://developer.android.com/reference/java/lang/Runnable.html what, long when)`

**This method is deprecated.** Deprecated in Java
`void` `[scrollBy](https://developer.android.com/reference/android/view/View.html#scrollBy(int, int))(int x, int y)`

**This method is deprecated.** Deprecated in Java
`void` `[scrollTo](https://developer.android.com/reference/android/view/View.html#scrollTo(int, int))(int x, int y)`

**This method is deprecated.** Deprecated in Java
`void` `[sendAccessibilityEvent](https://developer.android.com/reference/android/view/View.html#sendAccessibilityEvent(int))(int eventType)`

**This method is deprecated.** Deprecated in Java
`void` `[sendAccessibilityEventUnchecked](https://developer.android.com/reference/android/view/View.html#sendAccessibilityEventUnchecked(android.view.accessibility.AccessibilityEvent))(https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[setAccessibilityDataSensitive](https://developer.android.com/reference/android/view/View.html#setAccessibilityDataSensitive(int))(int accessibilityDataSensitive)`

**This method is deprecated.** Deprecated in Java
`void` `[setAccessibilityDelegate](https://developer.android.com/reference/android/view/View.html#setAccessibilityDelegate(android.view.View.AccessibilityDelegate))(https://developer.android.com/reference/android/view/View.AccessibilityDelegate.html delegate)`

**This method is deprecated.** Deprecated in Java
`void` `[setAccessibilityHeading](https://developer.android.com/reference/android/view/View.html#setAccessibilityHeading(boolean))(boolean isHeading)`

**This method is deprecated.** Deprecated in Java
`void` `[setAccessibilityLiveRegion](https://developer.android.com/reference/android/view/View.html#setAccessibilityLiveRegion(int))(int mode)`

**This method is deprecated.** Deprecated in Java
`void` `[setAccessibilityPaneTitle](https://developer.android.com/reference/android/view/View.html#setAccessibilityPaneTitle(java.lang.CharSequence))(https://developer.android.com/reference/java/lang/CharSequence.html accessibilityPaneTitle)`

**This method is deprecated.** Deprecated in Java
`void` `[setAccessibilityTraversalAfter](https://developer.android.com/reference/android/view/View.html#setAccessibilityTraversalAfter(int))(int afterId)`

**This method is deprecated.** Deprecated in Java
`void` `[setAccessibilityTraversalBefore](https://developer.android.com/reference/android/view/View.html#setAccessibilityTraversalBefore(int))(int beforeId)`

**This method is deprecated.** Deprecated in Java
`void` `[setActivated](https://developer.android.com/reference/android/view/View.html#setActivated(boolean))(boolean activated)`

**This method is deprecated.** Deprecated in Java
`void` `[setAllowClickWhenDisabled](https://developer.android.com/reference/android/view/View.html#setAllowClickWhenDisabled(boolean))(boolean clickableWhenDisabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setAllowedHandwritingDelegatePackage](https://developer.android.com/reference/android/view/View.html#setAllowedHandwritingDelegatePackage(java.lang.String))(https://developer.android.com/reference/java/lang/String.html allowedPackageName)`

**This method is deprecated.** Deprecated in Java
`void` `[setAllowedHandwritingDelegatorPackage](https://developer.android.com/reference/android/view/View.html#setAllowedHandwritingDelegatorPackage(java.lang.String))(https://developer.android.com/reference/java/lang/String.html allowedPackageName)`

**This method is deprecated.** Deprecated in Java
`void` `[setAlpha](https://developer.android.com/reference/android/view/View.html#setAlpha(float))(float alpha)`

**This method is deprecated.** Deprecated in Java
`void` `[setAnimation](https://developer.android.com/reference/android/view/View.html#setAnimation(android.view.animation.Animation))(https://developer.android.com/reference/android/view/animation/Animation.html animation)`

**This method is deprecated.** Deprecated in Java
`void` `[setAnimationMatrix](https://developer.android.com/reference/android/view/View.html#setAnimationMatrix(android.graphics.Matrix))(https://developer.android.com/reference/android/graphics/Matrix.html matrix)`

**This method is deprecated.** Deprecated in Java
`void` `[setAutoHandwritingEnabled](https://developer.android.com/reference/android/view/View.html#setAutoHandwritingEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setAutofillHints](https://developer.android.com/reference/android/view/View.html#setAutofillHints(java.lang.String...))(String[] autofillHints)`

**This method is deprecated.** Deprecated in Java
`void` `[setAutofillId](https://developer.android.com/reference/android/view/View.html#setAutofillId(android.view.autofill.AutofillId))(https://developer.android.com/reference/android/view/autofill/AutofillId.html id)`

**This method is deprecated.** Deprecated in Java
`void` `[setBackground](https://developer.android.com/reference/android/view/View.html#setBackground(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html background)`

**This method is deprecated.** Deprecated in Java
`void` `[setBackgroundColor](https://developer.android.com/reference/android/view/View.html#setBackgroundColor(int))(int color)`

**This method is deprecated.** Deprecated in Java
`void` `[setBackgroundDrawable](https://developer.android.com/reference/android/view/View.html#setBackgroundDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html background)`

**This method is deprecated.**
`void` `[setBackgroundResource](https://developer.android.com/reference/android/view/View.html#setBackgroundResource(int))(int resid)`

**This method is deprecated.** Deprecated in Java
`void` `[setBackgroundTintBlendMode](https://developer.android.com/reference/android/view/View.html#setBackgroundTintBlendMode(android.graphics.BlendMode))(https://developer.android.com/reference/android/graphics/BlendMode.html blendMode)`

**This method is deprecated.** Deprecated in Java
`void` `[setBackgroundTintList](https://developer.android.com/reference/android/view/View.html#setBackgroundTintList(android.content.res.ColorStateList))(https://developer.android.com/reference/android/content/res/ColorStateList.html tint)`

**This method is deprecated.** Deprecated in Java
`void` `[setBackgroundTintMode](https://developer.android.com/reference/android/view/View.html#setBackgroundTintMode(android.graphics.PorterDuff.Mode))(https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html tintMode)`

**This method is deprecated.** Deprecated in Java
`final void` `[setBottom](https://developer.android.com/reference/android/view/View.html#setBottom(int))(int bottom)`

**This method is deprecated.** Deprecated in Java
`void` `[setCameraDistance](https://developer.android.com/reference/android/view/View.html#setCameraDistance(float))(float distance)`

**This method is deprecated.** Deprecated in Java
`void` `[setClickable](https://developer.android.com/reference/android/view/View.html#setClickable(boolean))(boolean clickable)`

**This method is deprecated.** Deprecated in Java
`void` `[setClipBounds](https://developer.android.com/reference/android/view/View.html#setClipBounds(android.graphics.Rect))(https://developer.android.com/reference/android/graphics/Rect.html clipBounds)`

**This method is deprecated.** Deprecated in Java
`void` `[setClipToOutline](https://developer.android.com/reference/android/view/View.html#setClipToOutline(boolean))(boolean clipToOutline)`

**This method is deprecated.** Deprecated in Java
`void` `[setContentCaptureSession](https://developer.android.com/reference/android/view/View.html#setContentCaptureSession(android.view.contentcapture.ContentCaptureSession))(https://developer.android.com/reference/android/view/contentcapture/ContentCaptureSession.html contentCaptureSession)`

**This method is deprecated.** Deprecated in Java
`void` `[setContentDescription](https://developer.android.com/reference/android/view/View.html#setContentDescription(java.lang.CharSequence))(https://developer.android.com/reference/java/lang/CharSequence.html contentDescription)`

**This method is deprecated.** Deprecated in Java
`final void` `[setContentSensitivity](https://developer.android.com/reference/android/view/View.html#setContentSensitivity(int))(int mode)`

**This method is deprecated.** Deprecated in Java
`void` `[setContextClickable](https://developer.android.com/reference/android/view/View.html#setContextClickable(boolean))(boolean contextClickable)`

**This method is deprecated.** Deprecated in Java
`void` `[setDefaultFocusHighlightEnabled](https://developer.android.com/reference/android/view/View.html#setDefaultFocusHighlightEnabled(boolean))(boolean defaultFocusHighlightEnabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setDrawingCacheBackgroundColor](https://developer.android.com/reference/android/view/View.html#setDrawingCacheBackgroundColor(int))(int color)`

**This method is deprecated.**
`void` `[setDrawingCacheEnabled](https://developer.android.com/reference/android/view/View.html#setDrawingCacheEnabled(boolean))(boolean enabled)`

**This method is deprecated.**
`void` `[setDrawingCacheQuality](https://developer.android.com/reference/android/view/View.html#setDrawingCacheQuality(int))(int quality)`

**This method is deprecated.**
`void` `[setDuplicateParentStateEnabled](https://developer.android.com/reference/android/view/View.html#setDuplicateParentStateEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setElevation](https://developer.android.com/reference/android/view/View.html#setElevation(float))(float elevation)`

**This method is deprecated.** Deprecated in Java
`void` `[setEnabled](https://developer.android.com/reference/android/view/View.html#setEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setFadingEdgeLength](https://developer.android.com/reference/android/view/View.html#setFadingEdgeLength(int))(int length)`

**This method is deprecated.** Deprecated in Java
`void` `[setFilterTouchesWhenObscured](https://developer.android.com/reference/android/view/View.html#setFilterTouchesWhenObscured(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setFitsSystemWindows](https://developer.android.com/reference/android/view/View.html#setFitsSystemWindows(boolean))(boolean fitSystemWindows)`

**This method is deprecated.** Deprecated in Java
`void` `[setFocusable](https://developer.android.com/reference/android/view/View.html#setFocusable(boolean))(boolean focusable)`

**This method is deprecated.** Deprecated in Java
`void` `[setFocusableInTouchMode](https://developer.android.com/reference/android/view/View.html#setFocusableInTouchMode(boolean))(boolean focusableInTouchMode)`

**This method is deprecated.** Deprecated in Java
`void` `[setFocusedByDefault](https://developer.android.com/reference/android/view/View.html#setFocusedByDefault(boolean))(boolean isFocusedByDefault)`

**This method is deprecated.** Deprecated in Java
`void` `[setForceDarkAllowed](https://developer.android.com/reference/android/view/View.html#setForceDarkAllowed(boolean))(boolean allow)`

**This method is deprecated.** Deprecated in Java
`void` `[setForeground](https://developer.android.com/reference/android/view/View.html#setForeground(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html foreground)`

**This method is deprecated.** Deprecated in Java
`void` `[setForegroundTintBlendMode](https://developer.android.com/reference/android/view/View.html#setForegroundTintBlendMode(android.graphics.BlendMode))(https://developer.android.com/reference/android/graphics/BlendMode.html blendMode)`

**This method is deprecated.** Deprecated in Java
`void` `[setForegroundTintList](https://developer.android.com/reference/android/view/View.html#setForegroundTintList(android.content.res.ColorStateList))(https://developer.android.com/reference/android/content/res/ColorStateList.html tint)`

**This method is deprecated.** Deprecated in Java
`void` `[setForegroundTintMode](https://developer.android.com/reference/android/view/View.html#setForegroundTintMode(android.graphics.PorterDuff.Mode))(https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html tintMode)`

**This method is deprecated.** Deprecated in Java
`void` `[setFrameContentVelocity](https://developer.android.com/reference/android/view/View.html#setFrameContentVelocity(float))(float pixelsPerSecond)`

**This method is deprecated.** Deprecated in Java
`void` `[setHandwritingBoundsOffsets](https://developer.android.com/reference/android/view/View.html#setHandwritingBoundsOffsets(float, float, float, float))(
float offsetLeft,
float offsetTop,
float offsetRight,
float offsetBottom
)`

**This method is deprecated.** Deprecated in Java
`void` `[setHandwritingDelegateFlags](https://developer.android.com/reference/android/view/View.html#setHandwritingDelegateFlags(int))(int flags)`

**This method is deprecated.** Deprecated in Java
`void` `[setHandwritingDelegatorCallback](https://developer.android.com/reference/android/view/View.html#setHandwritingDelegatorCallback(java.lang.Runnable))(https://developer.android.com/reference/java/lang/Runnable.html callback)`

**This method is deprecated.** Deprecated in Java
`void` `[setHapticFeedbackEnabled](https://developer.android.com/reference/android/view/View.html#setHapticFeedbackEnabled(boolean))(boolean hapticFeedbackEnabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setHasTransientState](https://developer.android.com/reference/android/view/View.html#setHasTransientState(boolean))(boolean hasTransientState)`

**This method is deprecated.** Deprecated in Java
`void` `[setHorizontalFadingEdgeEnabled](https://developer.android.com/reference/android/view/View.html#setHorizontalFadingEdgeEnabled(boolean))(boolean horizontalFadingEdgeEnabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setHorizontalScrollBarEnabled](https://developer.android.com/reference/android/view/View.html#setHorizontalScrollBarEnabled(boolean))(boolean horizontalScrollBarEnabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setHorizontalScrollbarThumbDrawable](https://developer.android.com/reference/android/view/View.html#setHorizontalScrollbarThumbDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)`

**This method is deprecated.** Deprecated in Java
`void` `[setHorizontalScrollbarTrackDrawable](https://developer.android.com/reference/android/view/View.html#setHorizontalScrollbarTrackDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)`

**This method is deprecated.** Deprecated in Java
`void` `[setHovered](https://developer.android.com/reference/android/view/View.html#setHovered(boolean))(boolean hovered)`

**This method is deprecated.** Deprecated in Java
`void` `[setId](https://developer.android.com/reference/android/view/View.html#setId(int))(int id)`

**This method is deprecated.** Deprecated in Java
`void` `[setImportantForAccessibility](https://developer.android.com/reference/android/view/View.html#setImportantForAccessibility(int))(int mode)`

**This method is deprecated.** Deprecated in Java
`void` `[setImportantForAutofill](https://developer.android.com/reference/android/view/View.html#setImportantForAutofill(int))(int mode)`

**This method is deprecated.** Deprecated in Java
`void` `[setImportantForContentCapture](https://developer.android.com/reference/android/view/View.html#setImportantForContentCapture(int))(int mode)`

**This method is deprecated.** Deprecated in Java
`void` `[setIsCredential](https://developer.android.com/reference/android/view/View.html#setIsCredential(boolean))(boolean isCredential)`

**This method is deprecated.**
`void` `[setIsHandwritingDelegate](https://developer.android.com/reference/android/view/View.html#setIsHandwritingDelegate(boolean))(boolean isHandwritingDelegate)`

**This method is deprecated.** Deprecated in Java
`void` `[setKeepScreenOn](https://developer.android.com/reference/android/view/View.html#setKeepScreenOn(boolean))(boolean keepScreenOn)`

**This method is deprecated.** Deprecated in Java
`void` `[setKeyboardNavigationCluster](https://developer.android.com/reference/android/view/View.html#setKeyboardNavigationCluster(boolean))(boolean isCluster)`

**This method is deprecated.** Deprecated in Java
`void` `[setLabelFor](https://developer.android.com/reference/android/view/View.html#setLabelFor(int))(int id)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayerPaint](https://developer.android.com/reference/android/view/View.html#setLayerPaint(android.graphics.Paint))(https://developer.android.com/reference/android/graphics/Paint.html paint)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayerType](https://developer.android.com/reference/android/view/View.html#setLayerType(int, android.graphics.Paint))(int layerType, https://developer.android.com/reference/android/graphics/Paint.html paint)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayoutDirection](https://developer.android.com/reference/android/view/View.html#setLayoutDirection(int))(int layoutDirection)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayoutParams](https://developer.android.com/reference/android/view/View.html#setLayoutParams(android.view.ViewGroup.LayoutParams))(https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)`

**This method is deprecated.** Deprecated in Java
`final void` `[setLeft](https://developer.android.com/reference/android/view/View.html#setLeft(int))(int left)`

**This method is deprecated.** Deprecated in Java
`final void` `[setLeftTopRightBottom](https://developer.android.com/reference/android/view/View.html#setLeftTopRightBottom(int, int, int, int))(int left, int top, int right, int bottom)`

**This method is deprecated.** Deprecated in Java
`void` `[setLongClickable](https://developer.android.com/reference/android/view/View.html#setLongClickable(boolean))(boolean longClickable)`

**This method is deprecated.** Deprecated in Java
`final void` `[setMeasuredDimension](https://developer.android.com/reference/android/view/View.html#setMeasuredDimension(int, int))(int measuredWidth, int measuredHeight)`

**This method is deprecated.** Deprecated in Java
`void` `[setMinimumHeight](https://developer.android.com/reference/android/view/View.html#setMinimumHeight(int))(int minHeight)`

**This method is deprecated.** Deprecated in Java
`void` `[setMinimumWidth](https://developer.android.com/reference/android/view/View.html#setMinimumWidth(int))(int minWidth)`

**This method is deprecated.** Deprecated in Java
`void` `[setNestedScrollingEnabled](https://developer.android.com/reference/android/view/View.html#setNestedScrollingEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setNextClusterForwardId](https://developer.android.com/reference/android/view/View.html#setNextClusterForwardId(int))(int nextClusterForwardId)`

**This method is deprecated.** Deprecated in Java
`void` `[setNextFocusDownId](https://developer.android.com/reference/android/view/View.html#setNextFocusDownId(int))(int nextFocusDownId)`

**This method is deprecated.** Deprecated in Java
`void` `[setNextFocusForwardId](https://developer.android.com/reference/android/view/View.html#setNextFocusForwardId(int))(int nextFocusForwardId)`

**This method is deprecated.** Deprecated in Java
`void` `[setNextFocusLeftId](https://developer.android.com/reference/android/view/View.html#setNextFocusLeftId(int))(int nextFocusLeftId)`

**This method is deprecated.** Deprecated in Java
`void` `[setNextFocusRightId](https://developer.android.com/reference/android/view/View.html#setNextFocusRightId(int))(int nextFocusRightId)`

**This method is deprecated.** Deprecated in Java
`void` `[setNextFocusUpId](https://developer.android.com/reference/android/view/View.html#setNextFocusUpId(int))(int nextFocusUpId)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnApplyWindowInsetsListener](https://developer.android.com/reference/android/view/View.html#setOnApplyWindowInsetsListener(android.view.View.OnApplyWindowInsetsListener))(
https://developer.android.com/reference/android/view/View.OnApplyWindowInsetsListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnCapturedPointerListener](https://developer.android.com/reference/android/view/View.html#setOnCapturedPointerListener(android.view.View.OnCapturedPointerListener))(https://developer.android.com/reference/android/view/View.OnCapturedPointerListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnClickListener](https://developer.android.com/reference/android/view/View.html#setOnClickListener(android.view.View.OnClickListener))(https://developer.android.com/reference/android/view/View.OnClickListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnContextClickListener](https://developer.android.com/reference/android/view/View.html#setOnContextClickListener(android.view.View.OnContextClickListener))(https://developer.android.com/reference/android/view/View.OnContextClickListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnCreateContextMenuListener](https://developer.android.com/reference/android/view/View.html#setOnCreateContextMenuListener(android.view.View.OnCreateContextMenuListener))(https://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnDragListener](https://developer.android.com/reference/android/view/View.html#setOnDragListener(android.view.View.OnDragListener))(https://developer.android.com/reference/android/view/View.OnDragListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnFocusChangeListener](https://developer.android.com/reference/android/view/View.html#setOnFocusChangeListener(android.view.View.OnFocusChangeListener))(https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnGenericMotionListener](https://developer.android.com/reference/android/view/View.html#setOnGenericMotionListener(android.view.View.OnGenericMotionListener))(https://developer.android.com/reference/android/view/View.OnGenericMotionListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnHoverListener](https://developer.android.com/reference/android/view/View.html#setOnHoverListener(android.view.View.OnHoverListener))(https://developer.android.com/reference/android/view/View.OnHoverListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnKeyListener](https://developer.android.com/reference/android/view/View.html#setOnKeyListener(android.view.View.OnKeyListener))(https://developer.android.com/reference/android/view/View.OnKeyListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnLongClickListener](https://developer.android.com/reference/android/view/View.html#setOnLongClickListener(android.view.View.OnLongClickListener))(https://developer.android.com/reference/android/view/View.OnLongClickListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnReceiveContentListener](https://developer.android.com/reference/android/view/View.html#setOnReceiveContentListener(java.lang.String[], android.view.OnReceiveContentListener))(
String[] mimeTypes,
https://developer.android.com/reference/android/view/OnReceiveContentListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnScrollChangeListener](https://developer.android.com/reference/android/view/View.html#setOnScrollChangeListener(android.view.View.OnScrollChangeListener))(https://developer.android.com/reference/android/view/View.OnScrollChangeListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnSystemUiVisibilityChangeListener](https://developer.android.com/reference/android/view/View.html#setOnSystemUiVisibilityChangeListener(android.view.View.OnSystemUiVisibilityChangeListener))(
https://developer.android.com/reference/android/view/View.OnSystemUiVisibilityChangeListener.html l
)`

**This method is deprecated.**
`void` `[setOnTouchListener](https://developer.android.com/reference/android/view/View.html#setOnTouchListener(android.view.View.OnTouchListener))(https://developer.android.com/reference/android/view/View.OnTouchListener.html l)`

**This method is deprecated.** Deprecated in Java
`void` `[setOutlineAmbientShadowColor](https://developer.android.com/reference/android/view/View.html#setOutlineAmbientShadowColor(int))(int color)`

**This method is deprecated.** Deprecated in Java
`void` `[setOutlineProvider](https://developer.android.com/reference/android/view/View.html#setOutlineProvider(android.view.ViewOutlineProvider))(https://developer.android.com/reference/android/view/ViewOutlineProvider.html provider)`

**This method is deprecated.** Deprecated in Java
`void` `[setOutlineSpotShadowColor](https://developer.android.com/reference/android/view/View.html#setOutlineSpotShadowColor(int))(int color)`

**This method is deprecated.** Deprecated in Java
`void` `[setOverScrollMode](https://developer.android.com/reference/android/view/View.html#setOverScrollMode(int))(int overScrollMode)`

**This method is deprecated.** Deprecated in Java
`void` `[setPadding](https://developer.android.com/reference/android/view/View.html#setPadding(int, int, int, int))(int left, int top, int right, int bottom)`

**This method is deprecated.** Deprecated in Java
`void` `[setPaddingRelative](https://developer.android.com/reference/android/view/View.html#setPaddingRelative(int, int, int, int))(int start, int top, int end, int bottom)`

**This method is deprecated.** Deprecated in Java
`void` `[setPendingCredentialRequest](https://developer.android.com/reference/android/view/View.html#setPendingCredentialRequest(android.credentials.GetCredentialRequest, android.os.OutcomeReceiver&lt;android.credentials.GetCredentialResponse,android.credentials.GetCredentialException&gt;))(
https://developer.android.com/reference/android/credentials/GetCredentialRequest.html request,
https://developer.android.com/reference/android/os/OutcomeReceiver.html<https://developer.android.com/reference/android/credentials/GetCredentialResponse.html, https://developer.android.com/reference/android/credentials/GetCredentialException.html> callback
)`

**This method is deprecated.** Deprecated in Java
`void` `[setPivotX](https://developer.android.com/reference/android/view/View.html#setPivotX(float))(float pivotX)`

**This method is deprecated.** Deprecated in Java
`void` `[setPivotY](https://developer.android.com/reference/android/view/View.html#setPivotY(float))(float pivotY)`

**This method is deprecated.** Deprecated in Java
`void` `[setPointerIcon](https://developer.android.com/reference/android/view/View.html#setPointerIcon(android.view.PointerIcon))(https://developer.android.com/reference/android/view/PointerIcon.html pointerIcon)`

**This method is deprecated.** Deprecated in Java
`final void` `[setPreferKeepClear](https://developer.android.com/reference/android/view/View.html#setPreferKeepClear(boolean))(boolean preferKeepClear)`

**This method is deprecated.** Deprecated in Java
`final void` `[setPreferKeepClearRects](https://developer.android.com/reference/android/view/View.html#setPreferKeepClearRects(java.util.List&lt;android.graphics.Rect&gt;))(https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/graphics/Rect.html> rects)`

**This method is deprecated.** Deprecated in Java
`void` `[setPressed](https://developer.android.com/reference/android/view/View.html#setPressed(boolean))(boolean pressed)`

**This method is deprecated.** Deprecated in Java
`void` `[setRenderEffect](https://developer.android.com/reference/android/view/View.html#setRenderEffect(android.graphics.RenderEffect))(https://developer.android.com/reference/android/graphics/RenderEffect.html renderEffect)`

**This method is deprecated.** Deprecated in Java
`final void` `[setRevealOnFocusHint](https://developer.android.com/reference/android/view/View.html#setRevealOnFocusHint(boolean))(boolean revealOnFocus)`

**This method is deprecated.** Deprecated in Java
`final void` `[setRight](https://developer.android.com/reference/android/view/View.html#setRight(int))(int right)`

**This method is deprecated.** Deprecated in Java
`void` `[setRotation](https://developer.android.com/reference/android/view/View.html#setRotation(float))(float rotation)`

**This method is deprecated.** Deprecated in Java
`void` `[setRotationX](https://developer.android.com/reference/android/view/View.html#setRotationX(float))(float rotationX)`

**This method is deprecated.** Deprecated in Java
`void` `[setRotationY](https://developer.android.com/reference/android/view/View.html#setRotationY(float))(float rotationY)`

**This method is deprecated.** Deprecated in Java
`void` `[setSaveEnabled](https://developer.android.com/reference/android/view/View.html#setSaveEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setSaveFromParentEnabled](https://developer.android.com/reference/android/view/View.html#setSaveFromParentEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setScaleX](https://developer.android.com/reference/android/view/View.html#setScaleX(float))(float scaleX)`

**This method is deprecated.** Deprecated in Java
`void` `[setScaleY](https://developer.android.com/reference/android/view/View.html#setScaleY(float))(float scaleY)`

**This method is deprecated.** Deprecated in Java
`void` `[setScreenReaderFocusable](https://developer.android.com/reference/android/view/View.html#setScreenReaderFocusable(boolean))(boolean screenReaderFocusable)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollBarDefaultDelayBeforeFade](https://developer.android.com/reference/android/view/View.html#setScrollBarDefaultDelayBeforeFade(int))(
int scrollBarDefaultDelayBeforeFade
)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollBarFadeDuration](https://developer.android.com/reference/android/view/View.html#setScrollBarFadeDuration(int))(int scrollBarFadeDuration)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollBarSize](https://developer.android.com/reference/android/view/View.html#setScrollBarSize(int))(int scrollBarSize)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollBarStyle](https://developer.android.com/reference/android/view/View.html#setScrollBarStyle(int))(int style)`

**This method is deprecated.** Deprecated in Java
`final void` `[setScrollCaptureCallback](https://developer.android.com/reference/android/view/View.html#setScrollCaptureCallback(android.view.ScrollCaptureCallback))(https://developer.android.com/reference/android/view/ScrollCaptureCallback.html callback)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollCaptureHint](https://developer.android.com/reference/android/view/View.html#setScrollCaptureHint(int))(int hint)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollContainer](https://developer.android.com/reference/android/view/View.html#setScrollContainer(boolean))(boolean isScrollContainer)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollIndicators](https://developer.android.com/reference/android/view/View.html#setScrollIndicators(int))(int indicators)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollX](https://developer.android.com/reference/android/view/View.html#setScrollX(int))(int value)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollY](https://developer.android.com/reference/android/view/View.html#setScrollY(int))(int value)`

**This method is deprecated.** Deprecated in Java
`void` `[setScrollbarFadingEnabled](https://developer.android.com/reference/android/view/View.html#setScrollbarFadingEnabled(boolean))(boolean fadeScrollbars)`

**This method is deprecated.** Deprecated in Java
`void` `[setSelected](https://developer.android.com/reference/android/view/View.html#setSelected(boolean))(boolean selected)`

**This method is deprecated.** Deprecated in Java
`void` `[setSoundEffectsEnabled](https://developer.android.com/reference/android/view/View.html#setSoundEffectsEnabled(boolean))(boolean soundEffectsEnabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setStateDescription](https://developer.android.com/reference/android/view/View.html#setStateDescription(java.lang.CharSequence))(https://developer.android.com/reference/java/lang/CharSequence.html stateDescription)`

**This method is deprecated.** Deprecated in Java
`void` `[setStateListAnimator](https://developer.android.com/reference/android/view/View.html#setStateListAnimator(android.animation.StateListAnimator))(https://developer.android.com/reference/android/animation/StateListAnimator.html stateListAnimator)`

**This method is deprecated.** Deprecated in Java
`void` `[setSupplementalDescription](https://developer.android.com/reference/android/view/View.html#setSupplementalDescription(java.lang.CharSequence))(https://developer.android.com/reference/java/lang/CharSequence.html supplementalDescription)`

**This method is deprecated.** Deprecated in Java
`void` `[setSystemGestureExclusionRects](https://developer.android.com/reference/android/view/View.html#setSystemGestureExclusionRects(java.util.List&lt;android.graphics.Rect&gt;))(https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/graphics/Rect.html> rects)`

**This method is deprecated.** Deprecated in Java
`void` `[setSystemUiVisibility](https://developer.android.com/reference/android/view/View.html#setSystemUiVisibility(int))(int visibility)`

**This method is deprecated.**
`void` `[setTag](https://developer.android.com/reference/android/view/View.html#setTag(int, java.lang.Object))(int key, https://developer.android.com/reference/java/lang/Object.html tag)`

**This method is deprecated.** Deprecated in Java
`void` `[setTextAlignment](https://developer.android.com/reference/android/view/View.html#setTextAlignment(int))(int textAlignment)`

**This method is deprecated.** Deprecated in Java
`void` `[setTextDirection](https://developer.android.com/reference/android/view/View.html#setTextDirection(int))(int textDirection)`

**This method is deprecated.** Deprecated in Java
`void` `[setTooltipText](https://developer.android.com/reference/android/view/View.html#setTooltipText(java.lang.CharSequence))(https://developer.android.com/reference/java/lang/CharSequence.html tooltipText)`

**This method is deprecated.** Deprecated in Java
`final void` `[setTop](https://developer.android.com/reference/android/view/View.html#setTop(int))(int top)`

**This method is deprecated.** Deprecated in Java
`void` `[setTouchDelegate](https://developer.android.com/reference/android/view/View.html#setTouchDelegate(android.view.TouchDelegate))(https://developer.android.com/reference/android/view/TouchDelegate.html delegate)`

**This method is deprecated.** Deprecated in Java
`void` `[setTransitionAlpha](https://developer.android.com/reference/android/view/View.html#setTransitionAlpha(float))(float alpha)`

**This method is deprecated.** Deprecated in Java
`final void` `[setTransitionName](https://developer.android.com/reference/android/view/View.html#setTransitionName(java.lang.String))(https://developer.android.com/reference/java/lang/String.html transitionName)`

**This method is deprecated.** Deprecated in Java
`void` `[setTransitionVisibility](https://developer.android.com/reference/android/view/View.html#setTransitionVisibility(int))(int visibility)`

**This method is deprecated.** Deprecated in Java
`void` `[setTranslationX](https://developer.android.com/reference/android/view/View.html#setTranslationX(float))(float translationX)`

**This method is deprecated.** Deprecated in Java
`void` `[setTranslationY](https://developer.android.com/reference/android/view/View.html#setTranslationY(float))(float translationY)`

**This method is deprecated.** Deprecated in Java
`void` `[setTranslationZ](https://developer.android.com/reference/android/view/View.html#setTranslationZ(float))(float translationZ)`

**This method is deprecated.** Deprecated in Java
`void` `[setVerticalFadingEdgeEnabled](https://developer.android.com/reference/android/view/View.html#setVerticalFadingEdgeEnabled(boolean))(boolean verticalFadingEdgeEnabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setVerticalScrollBarEnabled](https://developer.android.com/reference/android/view/View.html#setVerticalScrollBarEnabled(boolean))(boolean verticalScrollBarEnabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setVerticalScrollbarPosition](https://developer.android.com/reference/android/view/View.html#setVerticalScrollbarPosition(int))(int position)`

**This method is deprecated.** Deprecated in Java
`void` `[setVerticalScrollbarThumbDrawable](https://developer.android.com/reference/android/view/View.html#setVerticalScrollbarThumbDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)`

**This method is deprecated.** Deprecated in Java
`void` `[setVerticalScrollbarTrackDrawable](https://developer.android.com/reference/android/view/View.html#setVerticalScrollbarTrackDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)`

**This method is deprecated.** Deprecated in Java
`void` `[setViewTranslationCallback](https://developer.android.com/reference/android/view/View.html#setViewTranslationCallback(android.view.translation.ViewTranslationCallback))(https://developer.android.com/reference/android/view/translation/ViewTranslationCallback.html callback)`

**This method is deprecated.** Deprecated in Java
`void` `[setVisibility](https://developer.android.com/reference/android/view/View.html#setVisibility(int))(int visibility)`

**This method is deprecated.** Deprecated in Java
`void` `[setWillNotCacheDrawing](https://developer.android.com/reference/android/view/View.html#setWillNotCacheDrawing(boolean))(boolean willNotCacheDrawing)`

**This method is deprecated.**
`void` `[setWillNotDraw](https://developer.android.com/reference/android/view/View.html#setWillNotDraw(boolean))(boolean willNotDraw)`

**This method is deprecated.** Deprecated in Java
`void` `[setX](https://developer.android.com/reference/android/view/View.html#setX(float))(float x)`

**This method is deprecated.** Deprecated in Java
`void` `[setY](https://developer.android.com/reference/android/view/View.html#setY(float))(float y)`

**This method is deprecated.** Deprecated in Java
`void` `[setZ](https://developer.android.com/reference/android/view/View.html#setZ(float))(float z)`

**This method is deprecated.** Deprecated in Java
`boolean` `[showContextMenu](https://developer.android.com/reference/android/view/View.html#showContextMenu())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ActionMode.html` `[startActionMode](https://developer.android.com/reference/android/view/View.html#startActionMode(android.view.ActionMode.Callback))(https://developer.android.com/reference/android/view/ActionMode.Callback.html callback)`

**This method is deprecated.** Deprecated in Java
`void` `[startAnimation](https://developer.android.com/reference/android/view/View.html#startAnimation(android.view.animation.Animation))(https://developer.android.com/reference/android/view/animation/Animation.html animation)`

**This method is deprecated.** Deprecated in Java
`final boolean` `[startDrag](https://developer.android.com/reference/android/view/View.html#startDrag(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int))(
https://developer.android.com/reference/android/content/ClipData.html data,
https://developer.android.com/reference/android/view/View.DragShadowBuilder.html shadowBuilder,
https://developer.android.com/reference/java/lang/Object.html myLocalState,
int flags
)`

**This method is deprecated.**
`final boolean` `[startDragAndDrop](https://developer.android.com/reference/android/view/View.html#startDragAndDrop(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int))(
https://developer.android.com/reference/android/content/ClipData.html data,
https://developer.android.com/reference/android/view/View.DragShadowBuilder.html shadowBuilder,
https://developer.android.com/reference/java/lang/Object.html myLocalState,
int flags
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[startNestedScroll](https://developer.android.com/reference/android/view/View.html#startNestedScroll(int))(int axes)`

**This method is deprecated.** Deprecated in Java
`void` `[stopNestedScroll](https://developer.android.com/reference/android/view/View.html#stopNestedScroll())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/java/lang/String.html` `[toString](https://developer.android.com/reference/android/view/View.html#toString())()`

**This method is deprecated.** Deprecated in Java
`void` `[transformMatrixToGlobal](https://developer.android.com/reference/android/view/View.html#transformMatrixToGlobal(android.graphics.Matrix))(https://developer.android.com/reference/android/graphics/Matrix.html matrix)`

**This method is deprecated.** Deprecated in Java
`void` `[transformMatrixToLocal](https://developer.android.com/reference/android/view/View.html#transformMatrixToLocal(android.graphics.Matrix))(https://developer.android.com/reference/android/graphics/Matrix.html matrix)`

**This method is deprecated.** Deprecated in Java
`static void` `[unregisterCalledFromWrongThreadListener](https://developer.android.com/reference/android/view/View.html#unregisterCalledFromWrongThreadListener(android.view.View.CalledFromWrongThreadListener))(
https://developer.android.com/reference/android/view/View.CalledFromWrongThreadListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[unscheduleDrawable](https://developer.android.com/reference/android/view/View.html#unscheduleDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html who)`

**This method is deprecated.** Deprecated in Java
`final void` `[updateDragShadow](https://developer.android.com/reference/android/view/View.html#updateDragShadow(android.view.View.DragShadowBuilder))(https://developer.android.com/reference/android/view/View.DragShadowBuilder.html shadowBuilder)`

**This method is deprecated.** Deprecated in Java
`boolean` `[verifyDrawable](https://developer.android.com/reference/android/view/View.html#verifyDrawable(android.graphics.drawable.Drawable))(https://developer.android.com/reference/android/graphics/drawable/Drawable.html who)`

**This method is deprecated.** Deprecated in Java
`boolean` `[willNotCacheDrawing](https://developer.android.com/reference/android/view/View.html#willNotCacheDrawing())()`

**This method is deprecated.**
`boolean` `[willNotDraw](https://developer.android.com/reference/android/view/View.html#willNotDraw())()`

**This method is deprecated.** Deprecated in Java
From [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) `void` `[addChildrenForAccessibility](https://developer.android.com/reference/android/view/ViewGroup.html#addChildrenForAccessibility(java.util.ArrayList&lt;android.view.View&gt;))(https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/android/view/View.html> outChildren)`

**This method is deprecated.** Deprecated in Java
`void` `[addExtraDataToAccessibilityNodeInfo](https://developer.android.com/reference/android/view/ViewGroup.html#addExtraDataToAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo, java.lang.String, android.os.Bundle))(
https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html info,
https://developer.android.com/reference/java/lang/String.html extraDataKey,
https://developer.android.com/reference/android/os/Bundle.html arguments
)`

**This method is deprecated.** Deprecated in Java
`void` `[addFocusables](https://developer.android.com/reference/android/view/ViewGroup.html#addFocusables(java.util.ArrayList&lt;android.view.View&gt;, int, int))(https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/android/view/View.html> views, int direction, int focusableMode)`

**This method is deprecated.** Deprecated in Java
`void` `[addKeyboardNavigationClusters](https://developer.android.com/reference/android/view/ViewGroup.html#addKeyboardNavigationClusters(java.util.Collection&lt;android.view.View&gt;, int))(https://developer.android.com/reference/java/util/Collection.html<https://developer.android.com/reference/android/view/View.html> views, int direction)`

**This method is deprecated.** Deprecated in Java
`boolean` `[addStatesFromChildren](https://developer.android.com/reference/android/view/ViewGroup.html#addStatesFromChildren())()`

**This method is deprecated.** Deprecated in Java
`void` `[addTouchables](https://developer.android.com/reference/android/view/ViewGroup.html#addTouchables(java.util.ArrayList&lt;android.view.View&gt;))(https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/android/view/View.html> views)`

**This method is deprecated.** Deprecated in Java
`void` `[addView](https://developer.android.com/reference/android/view/ViewGroup.html#addView(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`boolean` `[addViewInLayout](https://developer.android.com/reference/android/view/ViewGroup.html#addViewInLayout(android.view.View, int, android.view.ViewGroup.LayoutParams))(https://developer.android.com/reference/android/view/View.html child, int index, https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)`

**This method is deprecated.** Deprecated in Java
`void` `[attachLayoutAnimationParameters](https://developer.android.com/reference/android/view/ViewGroup.html#attachLayoutAnimationParameters(android.view.View, android.view.ViewGroup.LayoutParams, int, int))(
https://developer.android.com/reference/android/view/View.html child,
https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params,
int index,
int count
)`

**This method is deprecated.** Deprecated in Java
`void` `[attachViewToParent](https://developer.android.com/reference/android/view/ViewGroup.html#attachViewToParent(android.view.View, int, android.view.ViewGroup.LayoutParams))(https://developer.android.com/reference/android/view/View.html child, int index, https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)`

**This method is deprecated.** Deprecated in Java
`void` `[bringChildToFront](https://developer.android.com/reference/android/view/ViewGroup.html#bringChildToFront(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`boolean` `[canAnimate](https://developer.android.com/reference/android/view/ViewGroup.html#canAnimate())()`

**This method is deprecated.** Deprecated in Java
`void` `[childDrawableStateChanged](https://developer.android.com/reference/android/view/ViewGroup.html#childDrawableStateChanged(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[childHasTransientStateChanged](https://developer.android.com/reference/android/view/ViewGroup.html#childHasTransientStateChanged(android.view.View, boolean))(
https://developer.android.com/reference/android/view/View.html child,
boolean childHasTransientState
)`

**This method is deprecated.** Deprecated in Java
`void` `[cleanupLayoutState](https://developer.android.com/reference/android/view/ViewGroup.html#cleanupLayoutState(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[clearChildFocus](https://developer.android.com/reference/android/view/ViewGroup.html#clearChildFocus(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[clearDisappearingChildren](https://developer.android.com/reference/android/view/ViewGroup.html#clearDisappearingChildren())()`

**This method is deprecated.** Deprecated in Java
`void` `[clearFocus](https://developer.android.com/reference/android/view/ViewGroup.html#clearFocus())()`

**This method is deprecated.** Deprecated in Java
`void` `[debug](https://developer.android.com/reference/android/view/ViewGroup.html#debug(int))(int depth)`

**This method is deprecated.** Deprecated in Java
`void` `[detachAllViewsFromParent](https://developer.android.com/reference/android/view/ViewGroup.html#detachAllViewsFromParent())()`

**This method is deprecated.** Deprecated in Java
`void` `[detachViewFromParent](https://developer.android.com/reference/android/view/ViewGroup.html#detachViewFromParent(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[detachViewsFromParent](https://developer.android.com/reference/android/view/ViewGroup.html#detachViewsFromParent(int, int))(int start, int count)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowInsets.html` `[dispatchApplyWindowInsets](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchApplyWindowInsets(android.view.WindowInsets))(https://developer.android.com/reference/android/view/WindowInsets.html insets)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchCapturedPointerEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchCapturedPointerEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchConfigurationChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchConfigurationChanged(android.content.res.Configuration))(https://developer.android.com/reference/android/content/res/Configuration.html newConfig)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchCreateViewTranslationRequest](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchCreateViewTranslationRequest(java.util.Map&lt;android.view.autofill.AutofillId,long[]&gt;, int[], android.view.translation.TranslationCapability, java.util.List&lt;android.view.translation.ViewTranslationRequest&gt;))(
https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/android/view/autofill/AutofillId.html, long[]> viewIds,
int[] supportedFormats,
https://developer.android.com/reference/android/view/translation/TranslationCapability.html capability,
https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/view/translation/ViewTranslationRequest.html> requests
)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchDisplayHint](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDisplayHint(int))(int hint)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchDragEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDragEvent(android.view.DragEvent))(https://developer.android.com/reference/android/view/DragEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchDraw](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDraw(android.graphics.Canvas))(https://developer.android.com/reference/android/graphics/Canvas.html canvas)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchDrawableHotspotChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDrawableHotspotChanged(float, float))(float x, float y)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchFinishTemporaryDetach](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchFinishTemporaryDetach())()`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchFreezeSelfOnly](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchFreezeSelfOnly(android.util.SparseArray&lt;android.os.Parcelable&gt;))(https://developer.android.com/reference/android/util/SparseArray.html<https://developer.android.com/reference/android/os/Parcelable.html> container)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchGenericFocusedEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchGenericFocusedEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchGenericPointerEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchGenericPointerEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchHoverEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchHoverEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchKeyEventPreIme](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchKeyEventPreIme(android.view.KeyEvent))(https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchKeyShortcutEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchKeyShortcutEvent(android.view.KeyEvent))(https://developer.android.com/reference/android/view/KeyEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchPointerCaptureChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchPointerCaptureChanged(boolean))(boolean hasCapture)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchProvideAutofillStructure](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchProvideAutofillStructure(android.view.ViewStructure, int))(https://developer.android.com/reference/android/view/ViewStructure.html structure, int flags)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchProvideStructure](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchProvideStructure(android.view.ViewStructure))(https://developer.android.com/reference/android/view/ViewStructure.html structure)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchRestoreInstanceState](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchRestoreInstanceState(android.util.SparseArray&lt;android.os.Parcelable&gt;))(https://developer.android.com/reference/android/util/SparseArray.html<https://developer.android.com/reference/android/os/Parcelable.html> container)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchSaveInstanceState](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSaveInstanceState(android.util.SparseArray&lt;android.os.Parcelable&gt;))(https://developer.android.com/reference/android/util/SparseArray.html<https://developer.android.com/reference/android/os/Parcelable.html> container)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchScrollCaptureSearch](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchScrollCaptureSearch(android.graphics.Rect, android.graphics.Point, java.util.function.Consumer&lt;android.view.ScrollCaptureTarget&gt;))(
https://developer.android.com/reference/android/graphics/Rect.html localVisibleRect,
https://developer.android.com/reference/android/graphics/Point.html windowOffset,
https://developer.android.com/reference/java/util/function/Consumer.html<https://developer.android.com/reference/android/view/ScrollCaptureTarget.html> targets
)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchSetActivated](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetActivated(boolean))(boolean activated)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchSetPressed](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetPressed(boolean))(boolean pressed)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchSetSelected](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetSelected(boolean))(boolean selected)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchStartTemporaryDetach](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchStartTemporaryDetach())()`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchSystemUiVisibilityChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSystemUiVisibilityChanged(int))(int visible)`

**This method is deprecated.**
`void` `[dispatchThawSelfOnly](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchThawSelfOnly(android.util.SparseArray&lt;android.os.Parcelable&gt;))(https://developer.android.com/reference/android/util/SparseArray.html<https://developer.android.com/reference/android/os/Parcelable.html> container)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchTouchEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchTouchEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html ev)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchTrackballEvent](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchTrackballEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[dispatchUnhandledMove](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchUnhandledMove(android.view.View, int))(https://developer.android.com/reference/android/view/View.html focused, int direction)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchVisibilityChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchVisibilityChanged(android.view.View, int))(https://developer.android.com/reference/android/view/View.html changedView, int visibility)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchWindowInsetsAnimationEnd](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationEnd(android.view.WindowInsetsAnimation))(https://developer.android.com/reference/android/view/WindowInsetsAnimation.html animation)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchWindowInsetsAnimationPrepare](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationPrepare(android.view.WindowInsetsAnimation))(https://developer.android.com/reference/android/view/WindowInsetsAnimation.html animation)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowInsets.html` `[dispatchWindowInsetsAnimationProgress](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationProgress(android.view.WindowInsets, java.util.List&lt;android.view.WindowInsetsAnimation&gt;))(
https://developer.android.com/reference/android/view/WindowInsets.html insets,
https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/view/WindowInsetsAnimation.html> runningAnimations
)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/WindowInsetsAnimation.Bounds.html` `[dispatchWindowInsetsAnimationStart](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationStart(android.view.WindowInsetsAnimation, android.view.WindowInsetsAnimation.Bounds))(
https://developer.android.com/reference/android/view/WindowInsetsAnimation.html animation,
https://developer.android.com/reference/android/view/WindowInsetsAnimation.Bounds.html bounds
)`

**This method is deprecated.** Deprecated in Java
`void` `[dispatchWindowSystemUiVisiblityChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowSystemUiVisiblityChanged(int))(int visible)`

**This method is deprecated.**
`void` `[dispatchWindowVisibilityChanged](https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowVisibilityChanged(int))(int visibility)`

**This method is deprecated.** Deprecated in Java
`boolean` `[drawChild](https://developer.android.com/reference/android/view/ViewGroup.html#drawChild(android.graphics.Canvas, android.view.View, long))(https://developer.android.com/reference/android/graphics/Canvas.html canvas, https://developer.android.com/reference/android/view/View.html child, long drawingTime)`

**This method is deprecated.** Deprecated in Java
`void` `[drawableStateChanged](https://developer.android.com/reference/android/view/ViewGroup.html#drawableStateChanged())()`

**This method is deprecated.** Deprecated in Java
`void` `[endViewTransition](https://developer.android.com/reference/android/view/ViewGroup.html#endViewTransition(android.view.View))(https://developer.android.com/reference/android/view/View.html view)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.html` `[findFocus](https://developer.android.com/reference/android/view/ViewGroup.html#findFocus())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/window/OnBackInvokedDispatcher.html` `[findOnBackInvokedDispatcherForChild](https://developer.android.com/reference/android/view/ViewGroup.html#findOnBackInvokedDispatcherForChild(android.view.View, android.view.View))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/View.html requester)`

**This method is deprecated.** Deprecated in Java
`void` `[findViewsWithText](https://developer.android.com/reference/android/view/ViewGroup.html#findViewsWithText(java.util.ArrayList&lt;android.view.View&gt;, java.lang.CharSequence, int))(
https://developer.android.com/reference/java/util/ArrayList.html<https://developer.android.com/reference/android/view/View.html> outViews,
https://developer.android.com/reference/java/lang/CharSequence.html text,
int flags
)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.html` `[focusSearch](https://developer.android.com/reference/android/view/ViewGroup.html#focusSearch(android.view.View, int))(https://developer.android.com/reference/android/view/View.html focused, int direction)`

**This method is deprecated.** Deprecated in Java
`void` `[focusableViewAvailable](https://developer.android.com/reference/android/view/ViewGroup.html#focusableViewAvailable(android.view.View))(https://developer.android.com/reference/android/view/View.html v)`

**This method is deprecated.** Deprecated in Java
`boolean` `[gatherTransparentRegion](https://developer.android.com/reference/android/view/ViewGroup.html#gatherTransparentRegion(android.graphics.Region))(https://developer.android.com/reference/android/graphics/Region.html region)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.html` `[getChildAt](https://developer.android.com/reference/android/view/ViewGroup.html#getChildAt(int))(int index)`

**This method is deprecated.** Deprecated in Java
`int` `[getChildCount](https://developer.android.com/reference/android/view/ViewGroup.html#getChildCount())()`

**This method is deprecated.** Deprecated in Java
`final int` `[getChildDrawingOrder](https://developer.android.com/reference/android/view/ViewGroup.html#getChildDrawingOrder(int))(int drawingPosition)`

**This method is deprecated.** Deprecated in Java
`static int` `[getChildMeasureSpec](https://developer.android.com/reference/android/view/ViewGroup.html#getChildMeasureSpec(int, int, int))(int spec, int padding, int childDimension)`

**This method is deprecated.** Deprecated in Java
`boolean` `[getChildStaticTransformation](https://developer.android.com/reference/android/view/ViewGroup.html#getChildStaticTransformation(android.view.View, android.view.animation.Transformation))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/animation/Transformation.html t)`

**This method is deprecated.** Deprecated in Java
`boolean` `[getChildVisibleRect](https://developer.android.com/reference/android/view/ViewGroup.html#getChildVisibleRect(android.view.View, android.graphics.Rect, android.graphics.Point))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/graphics/Rect.html r, https://developer.android.com/reference/android/graphics/Point.html offset)`

**This method is deprecated.** Deprecated in Java
`boolean` `[getClipChildren](https://developer.android.com/reference/android/view/ViewGroup.html#getClipChildren())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[getClipToPadding](https://developer.android.com/reference/android/view/ViewGroup.html#getClipToPadding())()`

**This method is deprecated.** Deprecated in Java
`int` `[getDescendantFocusability](https://developer.android.com/reference/android/view/ViewGroup.html#getDescendantFocusability())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.html` `[getFocusedChild](https://developer.android.com/reference/android/view/ViewGroup.html#getFocusedChild())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html` `[getLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutAnimation())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html` `[getLayoutAnimationListener](https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutAnimationListener())()`

**This method is deprecated.** Deprecated in Java
`int` `[getLayoutMode](https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutMode())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/animation/LayoutTransition.html` `[getLayoutTransition](https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutTransition())()`

**This method is deprecated.** Deprecated in Java
`int` `[getNestedScrollAxes](https://developer.android.com/reference/android/view/ViewGroup.html#getNestedScrollAxes())()`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ViewGroupOverlay.html` `[getOverlay](https://developer.android.com/reference/android/view/ViewGroup.html#getOverlay())()`

**This method is deprecated.** Deprecated in Java
`int` `[getPersistentDrawingCache](https://developer.android.com/reference/android/view/ViewGroup.html#getPersistentDrawingCache())()`

**This method is deprecated.**
`boolean` `[getTouchscreenBlocksFocus](https://developer.android.com/reference/android/view/ViewGroup.html#getTouchscreenBlocksFocus())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasFocus](https://developer.android.com/reference/android/view/ViewGroup.html#hasFocus())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[hasTransientState](https://developer.android.com/reference/android/view/ViewGroup.html#hasTransientState())()`

**This method is deprecated.** Deprecated in Java
`int` `[indexOfChild](https://developer.android.com/reference/android/view/ViewGroup.html#indexOfChild(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`final void` `[invalidateChild](https://developer.android.com/reference/android/view/ViewGroup.html#invalidateChild(android.view.View, android.graphics.Rect))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/graphics/Rect.html dirty)`

**This method is deprecated.**
`https://developer.android.com/reference/android/view/ViewParent.html` `[invalidateChildInParent](https://developer.android.com/reference/android/view/ViewGroup.html#invalidateChildInParent(int[], android.graphics.Rect))(int[] location, https://developer.android.com/reference/android/graphics/Rect.html dirty)`

**This method is deprecated.**
`boolean` `[isAlwaysDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isAlwaysDrawnWithCacheEnabled())()`

**This method is deprecated.**
`boolean` `[isAnimationCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isAnimationCacheEnabled())()`

**This method is deprecated.**
`boolean` `[isChildrenDrawingOrderEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isChildrenDrawingOrderEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isChildrenDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isChildrenDrawnWithCacheEnabled())()`

**This method is deprecated.**
`boolean` `[isLayoutSuppressed](https://developer.android.com/reference/android/view/ViewGroup.html#isLayoutSuppressed())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isMotionEventSplittingEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isMotionEventSplittingEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isTransitionGroup](https://developer.android.com/reference/android/view/ViewGroup.html#isTransitionGroup())()`

**This method is deprecated.** Deprecated in Java
`void` `[jumpDrawablesToCurrentState](https://developer.android.com/reference/android/view/ViewGroup.html#jumpDrawablesToCurrentState())()`

**This method is deprecated.** Deprecated in Java
`final void` `[layout](https://developer.android.com/reference/android/view/ViewGroup.html#layout(int, int, int, int))(int l, int t, int r, int b)`

**This method is deprecated.** Deprecated in Java
`void` `[measureChild](https://developer.android.com/reference/android/view/ViewGroup.html#measureChild(android.view.View, int, int))(
https://developer.android.com/reference/android/view/View.html child,
int parentWidthMeasureSpec,
int parentHeightMeasureSpec
)`

**This method is deprecated.** Deprecated in Java
`void` `[measureChildWithMargins](https://developer.android.com/reference/android/view/ViewGroup.html#measureChildWithMargins(android.view.View, int, int, int, int))(
https://developer.android.com/reference/android/view/View.html child,
int parentWidthMeasureSpec,
int widthUsed,
int parentHeightMeasureSpec,
int heightUsed
)`

**This method is deprecated.** Deprecated in Java
`void` `[measureChildren](https://developer.android.com/reference/android/view/ViewGroup.html#measureChildren(int, int))(int widthMeasureSpec, int heightMeasureSpec)`

**This method is deprecated.** Deprecated in Java
`void` `[notifySubtreeAccessibilityStateChanged](https://developer.android.com/reference/android/view/ViewGroup.html#notifySubtreeAccessibilityStateChanged(android.view.View, android.view.View, int))(
https://developer.android.com/reference/android/view/View.html child,
https://developer.android.com/reference/android/view/View.html source,
int changeType
)`

**This method is deprecated.** Deprecated in Java
`final void` `[offsetDescendantRectToMyCoords](https://developer.android.com/reference/android/view/ViewGroup.html#offsetDescendantRectToMyCoords(android.view.View, android.graphics.Rect))(https://developer.android.com/reference/android/view/View.html descendant, https://developer.android.com/reference/android/graphics/Rect.html rect)`

**This method is deprecated.** Deprecated in Java
`final void` `[offsetRectIntoDescendantCoords](https://developer.android.com/reference/android/view/ViewGroup.html#offsetRectIntoDescendantCoords(android.view.View, android.graphics.Rect))(https://developer.android.com/reference/android/view/View.html descendant, https://developer.android.com/reference/android/graphics/Rect.html rect)`

**This method is deprecated.** Deprecated in Java
`int[]` `[onCreateDrawableState](https://developer.android.com/reference/android/view/ViewGroup.html#onCreateDrawableState(int))(int extraSpace)`

**This method is deprecated.** Deprecated in Java
`void` `[onDescendantInvalidated](https://developer.android.com/reference/android/view/ViewGroup.html#onDescendantInvalidated(android.view.View, android.view.View))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/View.html target)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onInterceptHoverEvent](https://developer.android.com/reference/android/view/ViewGroup.html#onInterceptHoverEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html event)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onInterceptTouchEvent](https://developer.android.com/reference/android/view/ViewGroup.html#onInterceptTouchEvent(android.view.MotionEvent))(https://developer.android.com/reference/android/view/MotionEvent.html ev)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onNestedFling](https://developer.android.com/reference/android/view/ViewGroup.html#onNestedFling(android.view.View, float, float, boolean))(
https://developer.android.com/reference/android/view/View.html target,
float velocityX,
float velocityY,
boolean consumed
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onNestedPreFling](https://developer.android.com/reference/android/view/ViewGroup.html#onNestedPreFling(android.view.View, float, float))(https://developer.android.com/reference/android/view/View.html target, float velocityX, float velocityY)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onNestedPrePerformAccessibilityAction](https://developer.android.com/reference/android/view/ViewGroup.html#onNestedPrePerformAccessibilityAction(android.view.View, int, android.os.Bundle))(
https://developer.android.com/reference/android/view/View.html target,
int action,
https://developer.android.com/reference/android/os/Bundle.html args
)`

**This method is deprecated.** Deprecated in Java
`void` `[onNestedPreScroll](https://developer.android.com/reference/android/view/ViewGroup.html#onNestedPreScroll(android.view.View, int, int, int[]))(https://developer.android.com/reference/android/view/View.html target, int dx, int dy, int[] consumed)`

**This method is deprecated.** Deprecated in Java
`void` `[onNestedScroll](https://developer.android.com/reference/android/view/ViewGroup.html#onNestedScroll(android.view.View, int, int, int, int))(
https://developer.android.com/reference/android/view/View.html target,
int dxConsumed,
int dyConsumed,
int dxUnconsumed,
int dyUnconsumed
)`

**This method is deprecated.** Deprecated in Java
`void` `[onNestedScrollAccepted](https://developer.android.com/reference/android/view/ViewGroup.html#onNestedScrollAccepted(android.view.View, android.view.View, int))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/View.html target, int axes)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onRequestFocusInDescendants](https://developer.android.com/reference/android/view/ViewGroup.html#onRequestFocusInDescendants(int, android.graphics.Rect))(int direction, https://developer.android.com/reference/android/graphics/Rect.html previouslyFocusedRect)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onRequestSendAccessibilityEvent](https://developer.android.com/reference/android/view/ViewGroup.html#onRequestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/PointerIcon.html` `[onResolvePointerIcon](https://developer.android.com/reference/android/view/ViewGroup.html#onResolvePointerIcon(android.view.MotionEvent, int))(https://developer.android.com/reference/android/view/MotionEvent.html event, int pointerIndex)`

**This method is deprecated.** Deprecated in Java
`boolean` `[onStartNestedScroll](https://developer.android.com/reference/android/view/ViewGroup.html#onStartNestedScroll(android.view.View, android.view.View, int))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/View.html target, int nestedScrollAxes)`

**This method is deprecated.** Deprecated in Java
`void` `[onStopNestedScroll](https://developer.android.com/reference/android/view/ViewGroup.html#onStopNestedScroll(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[onViewAdded](https://developer.android.com/reference/android/view/ViewGroup.html#onViewAdded(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[onViewRemoved](https://developer.android.com/reference/android/view/ViewGroup.html#onViewRemoved(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[propagateRequestedFrameRate](https://developer.android.com/reference/android/view/ViewGroup.html#propagateRequestedFrameRate(float, boolean))(float frameRate, boolean forceOverride)`

**This method is deprecated.** Deprecated in Java
`void` `[recomputeViewAttributes](https://developer.android.com/reference/android/view/ViewGroup.html#recomputeViewAttributes(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`void` `[removeAllViews](https://developer.android.com/reference/android/view/ViewGroup.html#removeAllViews())()`

**This method is deprecated.** Deprecated in Java
`void` `[removeAllViewsInLayout](https://developer.android.com/reference/android/view/ViewGroup.html#removeAllViewsInLayout())()`

**This method is deprecated.** Deprecated in Java
`void` `[removeDetachedView](https://developer.android.com/reference/android/view/ViewGroup.html#removeDetachedView(android.view.View, boolean))(https://developer.android.com/reference/android/view/View.html child, boolean animate)`

**This method is deprecated.** Deprecated in Java
`void` `[removeView](https://developer.android.com/reference/android/view/ViewGroup.html#removeView(android.view.View))(https://developer.android.com/reference/android/view/View.html view)`

**This method is deprecated.** Deprecated in Java
`void` `[removeViewAt](https://developer.android.com/reference/android/view/ViewGroup.html#removeViewAt(int))(int index)`

**This method is deprecated.** Deprecated in Java
`void` `[removeViewInLayout](https://developer.android.com/reference/android/view/ViewGroup.html#removeViewInLayout(android.view.View))(https://developer.android.com/reference/android/view/View.html view)`

**This method is deprecated.** Deprecated in Java
`void` `[removeViews](https://developer.android.com/reference/android/view/ViewGroup.html#removeViews(int, int))(int start, int count)`

**This method is deprecated.** Deprecated in Java
`void` `[removeViewsInLayout](https://developer.android.com/reference/android/view/ViewGroup.html#removeViewsInLayout(int, int))(int start, int count)`

**This method is deprecated.** Deprecated in Java
`void` `[requestChildFocus](https://developer.android.com/reference/android/view/ViewGroup.html#requestChildFocus(android.view.View, android.view.View))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/View.html focused)`

**This method is deprecated.** Deprecated in Java
`boolean` `[requestChildRectangleOnScreen](https://developer.android.com/reference/android/view/ViewGroup.html#requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean))(
https://developer.android.com/reference/android/view/View.html child,
https://developer.android.com/reference/android/graphics/Rect.html rectangle,
boolean immediate
)`

**This method is deprecated.** Deprecated in Java
`void` `[requestDisallowInterceptTouchEvent](https://developer.android.com/reference/android/view/ViewGroup.html#requestDisallowInterceptTouchEvent(boolean))(boolean disallowIntercept)`

**This method is deprecated.** Deprecated in Java
`boolean` `[requestFocus](https://developer.android.com/reference/android/view/ViewGroup.html#requestFocus(int, android.graphics.Rect))(int direction, https://developer.android.com/reference/android/graphics/Rect.html previouslyFocusedRect)`

**This method is deprecated.** Deprecated in Java
`boolean` `[requestSendAccessibilityEvent](https://developer.android.com/reference/android/view/ViewGroup.html#requestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent))(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)`

**This method is deprecated.** Deprecated in Java
`void` `[requestTransparentRegion](https://developer.android.com/reference/android/view/ViewGroup.html#requestTransparentRegion(android.view.View))(https://developer.android.com/reference/android/view/View.html child)`

**This method is deprecated.** Deprecated in Java
`boolean` `[restoreDefaultFocus](https://developer.android.com/reference/android/view/ViewGroup.html#restoreDefaultFocus())()`

**This method is deprecated.** Deprecated in Java
`void` `[scheduleLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#scheduleLayoutAnimation())()`

**This method is deprecated.** Deprecated in Java
`void` `[setAddStatesFromChildren](https://developer.android.com/reference/android/view/ViewGroup.html#setAddStatesFromChildren(boolean))(boolean addsStates)`

**This method is deprecated.** Deprecated in Java
`void` `[setAlwaysDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setAlwaysDrawnWithCacheEnabled(boolean))(boolean always)`

**This method is deprecated.**
`void` `[setAnimationCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setAnimationCacheEnabled(boolean))(boolean enabled)`

**This method is deprecated.**
`void` `[setChildrenDrawingCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawingCacheEnabled(boolean))(boolean enabled)`

**This method is deprecated.**
`void` `[setChildrenDrawingOrderEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawingOrderEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setChildrenDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawnWithCacheEnabled(boolean))(boolean enabled)`

**This method is deprecated.**
`void` `[setClipChildren](https://developer.android.com/reference/android/view/ViewGroup.html#setClipChildren(boolean))(boolean clipChildren)`

**This method is deprecated.** Deprecated in Java
`void` `[setClipToPadding](https://developer.android.com/reference/android/view/ViewGroup.html#setClipToPadding(boolean))(boolean clipToPadding)`

**This method is deprecated.** Deprecated in Java
`void` `[setDescendantFocusability](https://developer.android.com/reference/android/view/ViewGroup.html#setDescendantFocusability(int))(int focusability)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutAnimation(android.view.animation.LayoutAnimationController))(https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html controller)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayoutAnimationListener](https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutAnimationListener(android.view.animation.Animation.AnimationListener))(
https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html animationListener
)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayoutMode](https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutMode(int))(int layoutMode)`

**This method is deprecated.** Deprecated in Java
`void` `[setLayoutTransition](https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutTransition(android.animation.LayoutTransition))(https://developer.android.com/reference/android/animation/LayoutTransition.html transition)`

**This method is deprecated.** Deprecated in Java
`void` `[setMotionEventSplittingEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setMotionEventSplittingEnabled(boolean))(boolean split)`

**This method is deprecated.** Deprecated in Java
`void` `[setOnHierarchyChangeListener](https://developer.android.com/reference/android/view/ViewGroup.html#setOnHierarchyChangeListener(android.view.ViewGroup.OnHierarchyChangeListener))(
https://developer.android.com/reference/android/view/ViewGroup.OnHierarchyChangeListener.html listener
)`

**This method is deprecated.** Deprecated in Java
`void` `[setPersistentDrawingCache](https://developer.android.com/reference/android/view/ViewGroup.html#setPersistentDrawingCache(int))(int drawingCacheToKeep)`

**This method is deprecated.**
`void` `[setRequestedFrameRate](https://developer.android.com/reference/android/view/ViewGroup.html#setRequestedFrameRate(float))(float frameRate)`

**This method is deprecated.** Deprecated in Java
`void` `[setStaticTransformationsEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setStaticTransformationsEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setTouchscreenBlocksFocus](https://developer.android.com/reference/android/view/ViewGroup.html#setTouchscreenBlocksFocus(boolean))(boolean touchscreenBlocksFocus)`

**This method is deprecated.** Deprecated in Java
`void` `[setTransitionGroup](https://developer.android.com/reference/android/view/ViewGroup.html#setTransitionGroup(boolean))(boolean isTransitionGroup)`

**This method is deprecated.** Deprecated in Java
`void` `[setWindowInsetsAnimationCallback](https://developer.android.com/reference/android/view/ViewGroup.html#setWindowInsetsAnimationCallback(android.view.WindowInsetsAnimation.Callback))(
https://developer.android.com/reference/android/view/WindowInsetsAnimation.Callback.html callback
)`

**This method is deprecated.** Deprecated in Java
`boolean` `[showContextMenuForChild](https://developer.android.com/reference/android/view/ViewGroup.html#showContextMenuForChild(android.view.View))(https://developer.android.com/reference/android/view/View.html originalView)`

**This method is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/ActionMode.html` `[startActionModeForChild](https://developer.android.com/reference/android/view/ViewGroup.html#startActionModeForChild(android.view.View, android.view.ActionMode.Callback))(
https://developer.android.com/reference/android/view/View.html originalView,
https://developer.android.com/reference/android/view/ActionMode.Callback.html callback
)`

**This method is deprecated.** Deprecated in Java
`void` `[startLayoutAnimation](https://developer.android.com/reference/android/view/ViewGroup.html#startLayoutAnimation())()`

**This method is deprecated.** Deprecated in Java
`void` `[startViewTransition](https://developer.android.com/reference/android/view/ViewGroup.html#startViewTransition(android.view.View))(https://developer.android.com/reference/android/view/View.html view)`

**This method is deprecated.** Deprecated in Java
`void` `[suppressLayout](https://developer.android.com/reference/android/view/ViewGroup.html#suppressLayout(boolean))(boolean suppress)`

**This method is deprecated.** Deprecated in Java
`void` `[updateViewLayout](https://developer.android.com/reference/android/view/ViewGroup.html#updateViewLayout(android.view.View, android.view.ViewGroup.LayoutParams))(https://developer.android.com/reference/android/view/View.html view, https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)`

**This method is deprecated.** Deprecated in Java

## Public constructors

### FragmentTabHost

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0)

```
public [FragmentTabHost](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#FragmentTabHost(android.content.Context))(@NonNull Context context)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### FragmentTabHost

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0)

```
public [FragmentTabHost](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#FragmentTabHost(android.content.Context,android.util.AttributeSet))(@NonNull Context context, @Nullable AttributeSet attrs)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

## Public methods

### addTab

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0)

```
public void [addTab](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#addTab(android.widget.TabHost.TabSpec,java.lang.Class<?>,android.os.Bundle))(
    @NonNull TabHost.TabSpec tabSpec,
    @NonNull Class<@NonNull ?> clss,
    @Nullable Bundle args
)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### onTabChanged

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0)

```
public void [onTabChanged](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onTabChanged(java.lang.String))(@Nullable String tabId)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### setOnTabChangedListener

```
public void [setOnTabChangedListener](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setOnTabChangedListener(android.widget.TabHost.OnTabChangeListener))(@Nullable TabHost.OnTabChangeListener l)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### setup

```
public void [setup](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setup())()
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### setup

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0)

```
public void [setup](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setup(android.content.Context,androidx.fragment.app.FragmentManager))(@NonNull Context context, @NonNull FragmentManager manager)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

Set up the FragmentTabHost to use the given FragmentManager

### setup

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.1.0)

```
public void [setup](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#setup(android.content.Context,androidx.fragment.app.FragmentManager,int))(
    @NonNull Context context,
    @NonNull FragmentManager manager,
    int containerId
)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

Set up the FragmentTabHost to use the given FragmentManager

## Protected methods

### onAttachedToWindow

```
protected void [onAttachedToWindow](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onAttachedToWindow())()
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### onDetachedFromWindow

```
protected void [onDetachedFromWindow](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onDetachedFromWindow())()
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### onRestoreInstanceState

```
protected void [onRestoreInstanceState](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onRestoreInstanceState(android.os.Parcelable))(Parcelable state)
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.

### onSaveInstanceState

```
protected @NonNull Parcelable [onSaveInstanceState](https://developer.android.com/reference/androidx/fragment/app/FragmentTabHost#onSaveInstanceState())()
```

> [!CAUTION]
> **This method is deprecated.**   
>
> Use [TabLayout and ViewPager](https://developer.android.com/guide/navigation/navigation-swipe-view) instead.