Class LayoutDirection

java.lang.Object
icyllis.modernui.util.LayoutDirection

public final class LayoutDirection extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • UNDEFINED

      @Internal public static final int UNDEFINED
      An undefined layout direction.
      See Also:
    • LTR

      public static final int LTR
      Horizontal layout direction is from Left to Right.
      See Also:
    • RTL

      public static final int RTL
      Horizontal layout direction is from Right to Left.
      See Also:
    • INHERIT

      public static final int INHERIT
      Horizontal layout direction is inherited.
      See Also:
    • LOCALE

      public static final int LOCALE
      Horizontal layout direction is deduced from the default language script for the locale.
      See Also: