Package icyllis.modernui.util
Class LayoutDirection
java.lang.Object
icyllis.modernui.util.LayoutDirection
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Horizontal layout direction is inherited.static final int
Horizontal layout direction is deduced from the default language script for the locale.static final int
Horizontal layout direction is from Left to Right.static final int
Horizontal layout direction is from Right to Left.static final int
An undefined layout direction. -
Method Summary
-
Field Details
-
UNDEFINED
@Internal public static final int UNDEFINEDAn undefined layout direction.- See Also:
-
LTR
public static final int LTRHorizontal layout direction is from Left to Right.- See Also:
-
RTL
public static final int RTLHorizontal layout direction is from Right to Left.- See Also:
-
INHERIT
public static final int INHERITHorizontal layout direction is inherited.- See Also:
-
LOCALE
public static final int LOCALEHorizontal layout direction is deduced from the default language script for the locale.- See Also:
-