public enum

AlignmentProto.HorizontalAlignment

extends java.lang.Enum<AlignmentProto.HorizontalAlignment>

 java.lang.Object

↳java.lang.Enum<AlignmentProto.HorizontalAlignment>

↳androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment

Overview

 The horizontal alignment of an element within its container.
 
Protobuf enum androidx.wear.protolayout.proto.HorizontalAlignment

Summary

Enum Constants
HORIZONTAL_ALIGN_CENTER
 Horizontally align to center.
HORIZONTAL_ALIGN_END
 Horizontally align to the content end (right in LTR layouts, left in RTL
 layouts).
HORIZONTAL_ALIGN_LEFT
 Horizontally align to the left.
HORIZONTAL_ALIGN_RIGHT
 Horizontally align to the right.
HORIZONTAL_ALIGN_START
 Horizontally align to the content start (left in LTR layouts, right in RTL
 layouts).
HORIZONTAL_ALIGN_UNDEFINED
 Horizontal alignment is undefined.
UNRECOGNIZED
Fields
public static final intHORIZONTAL_ALIGN_CENTER_VALUE

 Horizontally align to center.

public static final intHORIZONTAL_ALIGN_END_VALUE

 Horizontally align to the content end (right in LTR layouts, left in RTL
 layouts).

public static final intHORIZONTAL_ALIGN_LEFT_VALUE

 Horizontally align to the left.

public static final intHORIZONTAL_ALIGN_RIGHT_VALUE

 Horizontally align to the right.

public static final intHORIZONTAL_ALIGN_START_VALUE

 Horizontally align to the content start (left in LTR layouts, right in RTL
 layouts).

public static final intHORIZONTAL_ALIGN_UNDEFINED_VALUE

 Horizontal alignment is undefined.

Methods
public static AlignmentProto.HorizontalAlignmentforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()

public static AlignmentProto.HorizontalAlignmentvalueOf(int value)

public static AlignmentProto.HorizontalAlignmentvalueOf(java.lang.String name)

public static AlignmentProto.HorizontalAlignmentvalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

HORIZONTAL_ALIGN_UNDEFINED

 Horizontal alignment is undefined.
 
HORIZONTAL_ALIGN_UNDEFINED = 0;

HORIZONTAL_ALIGN_LEFT

 Horizontally align to the left.
 
HORIZONTAL_ALIGN_LEFT = 1;

HORIZONTAL_ALIGN_CENTER

 Horizontally align to center.
 
HORIZONTAL_ALIGN_CENTER = 2;

HORIZONTAL_ALIGN_RIGHT

 Horizontally align to the right.
 
HORIZONTAL_ALIGN_RIGHT = 3;

HORIZONTAL_ALIGN_START

 Horizontally align to the content start (left in LTR layouts, right in RTL
 layouts).
 
HORIZONTAL_ALIGN_START = 4;

HORIZONTAL_ALIGN_END

 Horizontally align to the content end (right in LTR layouts, left in RTL
 layouts).
 
HORIZONTAL_ALIGN_END = 5;

UNRECOGNIZED

Fields

public static final int HORIZONTAL_ALIGN_UNDEFINED_VALUE

 Horizontal alignment is undefined.
 
HORIZONTAL_ALIGN_UNDEFINED = 0;

public static final int HORIZONTAL_ALIGN_LEFT_VALUE

 Horizontally align to the left.
 
HORIZONTAL_ALIGN_LEFT = 1;

public static final int HORIZONTAL_ALIGN_CENTER_VALUE

 Horizontally align to center.
 
HORIZONTAL_ALIGN_CENTER = 2;

public static final int HORIZONTAL_ALIGN_RIGHT_VALUE

 Horizontally align to the right.
 
HORIZONTAL_ALIGN_RIGHT = 3;

public static final int HORIZONTAL_ALIGN_START_VALUE

 Horizontally align to the content start (left in LTR layouts, right in RTL
 layouts).
 
HORIZONTAL_ALIGN_START = 4;

public static final int HORIZONTAL_ALIGN_END_VALUE

 Horizontally align to the content end (right in LTR layouts, left in RTL
 layouts).
 
HORIZONTAL_ALIGN_END = 5;

Methods

public static AlignmentProto.HorizontalAlignment values()

public static AlignmentProto.HorizontalAlignment valueOf(java.lang.String name)

public final int getNumber()

public static AlignmentProto.HorizontalAlignment valueOf(int value)

Deprecated: Use AlignmentProto.HorizontalAlignment.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static AlignmentProto.HorizontalAlignment forNumber(int value)

public static <any> internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()