Udostępnij za pośrednictwem


View.OnRtlPropertiesChanged(LayoutDirection) Method

Definition

Called when any RTL property (layout direction or text direction or text alignment) has been changed.

[Android.Runtime.Register("onRtlPropertiesChanged", "(I)V", "GetOnRtlPropertiesChanged_IHandler")]
public virtual void OnRtlPropertiesChanged (Android.Views.LayoutDirection layoutDirection);
[<Android.Runtime.Register("onRtlPropertiesChanged", "(I)V", "GetOnRtlPropertiesChanged_IHandler")>]
abstract member OnRtlPropertiesChanged : Android.Views.LayoutDirection -> unit
override this.OnRtlPropertiesChanged : Android.Views.LayoutDirection -> unit

Parameters

layoutDirection
LayoutDirection

the direction of the layout

Attributes

Remarks

Called when any RTL property (layout direction or text direction or text alignment) has been changed.

Subclasses need to override this method to take care of cached information that depends on the resolved layout direction, or to inform child views that inherit their layout direction.

The default implementation does nothing.

Java documentation for android.view.View.onRtlPropertiesChanged(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

See also