Share via


ViewGroup.LayoutParams.ResolveLayoutDirection(LayoutDirection) Method

Definition

Resolve layout parameters depending on the layout direction.

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

Parameters

layoutDirection
LayoutDirection

the direction of the layout

        <code data-dev-comment-type="c">View#LAYOUT_DIRECTION_LTR</code><code data-dev-comment-type="c">View#LAYOUT_DIRECTION_RTL</code>
Attributes

Remarks

Resolve layout parameters depending on the layout direction. Subclasses that care about layoutDirection changes should override this method. The default implementation does nothing.

Java documentation for android.view.ViewGroup.LayoutParams.resolveLayoutDirection(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