
int: Optional. Otherwise null, on return this will incorporate the offset in regional view coordinates of the view from right before this Procedure to immediately after it completes. View implementations may perhaps use this to regulate expected enter coordinate tracking.
Defines if the horizontal scrollbar monitor should really constantly be drawn. android:scrollbarAlwaysDrawVerticalTrack
This regular was deprecated in API amount 28. The view drawing cache was mostly produced obsolete with the introduction of components-accelerated rendering in API 11. With components-acceleration, intermediate cache levels are mostly unwanted and can certainly lead to a net reduction in general performance as a consequence of the expense of generating and updating the layer. While in the unusual cases the place caching levels are practical, for example for alpha animations, setLayerType(int, android.graphics.
Defines the hold off in milliseconds that a scrollbar requires to fade out. Could possibly be an integer value, which include "one hundred".
Return the class name of the object to be used for accessibility functions. Subclasses need to only override this If they're employing something which needs to be witnessed as a completely new class of view when employed by accessibility, unrelated to The category it's deriving from. This is certainly accustomed to fill in AccessibilityNodeInfo.setClassName.
Returns the scale of the horizontal faded edges applied to indicate that much more content material With this view is obvious.
View.OnCapturedPointerListener Interface definition for any callback for being invoked each time a captured pointer function is getting dispatched this view. interface
View.OnAttachStateChangeListener Interface definition for your callback to become invoked when this view is connected or detached from its window. interface
Controls whether a view might take emphasis. By default, This is often "auto" which lets the framework establish irrespective of whether a consumer can transfer concentrate to a view. By setting this attribute to true the view is permitted to acquire concentration. By placing it to "Fake" the view is not going to consider focus.
Adds the youngsters of this View relevant for accessibility into the presented checklist as output. Since some Views are certainly not critical for accessibility the added boy or girl views will not be necessarily immediate kids of the view, fairly they are the 1st degree of descendants vital for accessibility.
Called if the window that contains this view gains or loses window aim. ViewGroups need to click here override to route for their kids.}