THE 2-MINUTE RULE FOR VIEW

The 2-Minute Rule for view

The 2-Minute Rule for view

Blog Article



Defines regardless of whether this view reacts to long simply click activities. May be a boolean price, including "legitimate" or "Bogus".

, or right until a certain volume of genuine time has elapsed. remaining void wait around() Brings about The present thread to wait until eventually it really is awakened, generally by remaining notified

Returns the currently configured Drawable for your thumb on the horizontal scroll bar if it exists, null if not.

Result in an invalidate of the required space to happen on the subsequent animation time move, typically another Show body. void postInvalidateOnAnimation()

This regular was deprecated in API stage 28. The view drawing cache was largely designed obsolete Along with the introduction of hardware-accelerated rendering in API eleven. With hardware-acceleration, intermediate cache levels are largely unwanted and can easily end in a net decline in overall performance as a consequence of the price of building and updating the layer. Inside the scarce circumstances where by caching layers are valuable, such as for alpha animations, setLayerType(int, android.graphics.

Returns the check here size of your horizontal faded edges employed to point that a lot more material In this particular view is obvious.

Established this When the view will serve as a scrolling container, indicating that it can be resized to shrink its All round window making sure that there'll be space for an input strategy.  android:keepScreenOn

Irrespective of whether this View must utilize a default emphasis highlight when it will get focused but doesn't have R.attr.state_focused described in its background. Could be a boolean value, for example "true" or "Bogus".

Low high-quality. When set to very low top quality, the drawing cache makes use of a lessen coloration depth, So shedding precision in rendering gradients, but works by using a lot less memory. Deprecated: The view drawing cache was largely made out of date With all the introduction of hardware-accelerated rendering in API eleven.

Customer: accepts probable scroll seize targets; success.accept can be known as zero or even more occasions to the contacting thread just before onScrollCaptureSearch returns This benefit can't be null.

The view drawing cache was mainly built out of date With all the introduction of hardware-accelerated rendering in API eleven. With components-acceleration, intermediate cache layers are mainly avoidable and can easily end in a Web decline in general performance resulting from the price of creating and updating the layer. Inside the rare scenarios the place caching layers are practical, like for alpha animations, setLayerType(int, android.graphics.Paint) handles this with components rendering.}

Report this page