Share via


Drawable.OnLayoutDirectionChanged(Int32) Method

Definition

Called when the drawable's resolved layout direction changes.

[Android.Runtime.Register("onLayoutDirectionChanged", "(I)Z", "GetOnLayoutDirectionChanged_IHandler", ApiSince=23)]
public virtual bool OnLayoutDirectionChanged (int layoutDirection);
[<Android.Runtime.Register("onLayoutDirectionChanged", "(I)Z", "GetOnLayoutDirectionChanged_IHandler", ApiSince=23)>]
abstract member OnLayoutDirectionChanged : int -> bool
override this.OnLayoutDirectionChanged : int -> bool

Parameters

layoutDirection
Int32

the new resolved layout direction

Returns

true if the layout direction change has caused the appearance of the drawable to change such that it needs to be re-drawn, false otherwise

Attributes

Remarks

Called when the drawable's resolved layout direction changes.

Java documentation for android.graphics.drawable.Drawable.onLayoutDirectionChanged(int).

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