Condividi tramite


LayoutDirection Enum

Definition

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

public enum LayoutDirection
type LayoutDirection = 
Inheritance
LayoutDirection

Fields

Name Value Description
Ltr 0

Horizontal layout direction of this view is from Left to Right. Use with LayoutDirection.

Rtl 1

Horizontal layout direction of this view is from Right to Left. Use with LayoutDirection.

Inherit 2

Horizontal layout direction of this view is inherited from its parent. Use with LayoutDirection.

Locale 3

Horizontal layout direction of this view is from deduced from the default language script for the locale.

Remarks

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