Android Guides | Samples

Android.Views.LayoutDirection Enumeration

Enumerates values returned by several types and taken as a parameter of the View.OnRtlPropertiesChanged, and ViewGroup+LayoutParams.ResolveLayoutDirection members.

Syntax

public enum LayoutDirection

Remarks

Members

Member NameDescription
InheritHorizontal layout direction of this view is inherited from its parent. Use with View.LayoutDirection.
LocaleHorizontal layout direction of this view is from deduced from the default language script for the locale. Use with View.LayoutDirection.
LtrHorizontal layout direction of this view is from Left to Right. Use with View.LayoutDirection.
RtlHorizontal layout direction of this view is from Right to Left. Use with View.LayoutDirection.

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Views.LayoutDirection are listed below.

See Also: Enum

Public Fields

InheritLayoutDirection. Horizontal layout direction of this view is inherited from its parent. Use with View.LayoutDirection.
LocaleLayoutDirection. Horizontal layout direction of this view is from deduced from the default language script for the locale. Use with View.LayoutDirection.
LtrLayoutDirection. Horizontal layout direction of this view is from Left to Right. Use with View.LayoutDirection.
RtlLayoutDirection. Horizontal layout direction of this view is from Right to Left. Use with View.LayoutDirection.