An Unbiased View of google
An Unbiased View of google
Blog Article
The view drawing cache was largely designed obsolete While using the introduction of hardware-accelerated rendering in API eleven. With hardware-acceleration, intermediate cache levels are mainly unneeded and can easily cause a net reduction in performance as a result of the expense of producing and updating the layer. During the unusual conditions in which caching levels are practical, including for alpha animations, setLayerType(int, android.graphics.Paint) handles this with components rendering.
If a nested scrolling baby view would Commonly fling but it is at the sting of its possess written content, it could possibly use this process to delegate the fling to its nested scrolling mother or father instead. The dad or mum may well optionally eat the fling or observe a youngster fling.
Return the amount of offset applied to the right edge of the view's handwriting bounds, while in the device of pixel.
Take note about automobile scaling in compatibility manner: When automobile scaling will not be enabled, this method will develop a bitmap of exactly the same dimensions as this view. For the reason that this bitmap will likely be drawn scaled via the father or mother ViewGroup, The end result on screen may possibly show scaling artifacts.
the blending method made use of to apply the tint for the track record drawable, null if no blend has previously been configured
Textual content path is utilizing "to start with solid algorithm". The primary powerful directional character determines the paragraph course. If there isn't a robust directional character, the paragraph direction is RTL.
Lets the framework make here your mind up what excellent degree should be employed for the drawing cache. Deprecated: The view drawing cache was largely built obsolete While using the introduction of components-accelerated rendering in API 11.
This course was deprecated in API degree 29. This class is deprecated since That is merely a practical UI widget course that application developers can re-put into action along with existing public APIs.
Established this if the view will function a scrolling container, which means that it may be resized to shrink its Over-all window making sure that there'll be Room for an enter method.
Defines whether the horizontal scrollbar observe ought to normally be drawn. Could be a boolean value, for instance "accurate" or "Fake".
Defines the minimal peak with the view. It is not assured the view can obtain this least top (for example, if its mother or father layout constrains it with considerably less readily available top).}