View.DrawableHotspotChanged(Single, Single) Method

Definition

This function is called whenever the view hotspot changes and needs to be propagated to drawables or child views managed by the view.

[Android.Runtime.Register("drawableHotspotChanged", "(FF)V", "GetDrawableHotspotChanged_FFHandler")]
public virtual void DrawableHotspotChanged (float x, float y);
[<Android.Runtime.Register("drawableHotspotChanged", "(FF)V", "GetDrawableHotspotChanged_FFHandler")>]
abstract member DrawableHotspotChanged : single * single -> unit
override this.DrawableHotspotChanged : single * single -> unit

Parameters

x
Single

hotspot x coordinate

y
Single

hotspot y coordinate

Attributes

Remarks

This function is called whenever the view hotspot changes and needs to be propagated to drawables or child views managed by the view.

Dispatching to child views is handled by #dispatchDrawableHotspotChanged(float, float).

Be sure to call through to the superclass when overriding this function.

Java documentation for android.view.View.drawableHotspotChanged(float, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to