Android Guides | Samples

Android.Util.LayoutDirection Class

A class for defining layout directions.

See Also: LayoutDirection

Syntax

[Android.Runtime.Register("android/util/LayoutDirection", DoNotGenerateAcw=true)]
public sealed class LayoutDirection : Object

Remarks

A class for defining layout directions. A layout direction can be left-to-right (LTR) or right-to-left (RTL). It can also be inherited (from a parent) or deduced from the default language script of a locale.

[Android Documentation]

Requirements

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

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

See Also: Object

Public Fields

const
InheritLayoutDirections (2). Horizontal layout direction is inherited.
const
LocaleLayoutDirections (3). Horizontal layout direction is deduced from the default language script for the locale.
const
LtrLayoutDirections (0). Horizontal layout direction is from Left to Right.
const
RtlLayoutDirections (1). Horizontal layout direction is from Right to Left.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.