public enum

LayoutElementProto.SpanVerticalAlignment

extends java.lang.Enum<LayoutElementProto.SpanVerticalAlignment>

 java.lang.Object

↳java.lang.Enum<LayoutElementProto.SpanVerticalAlignment>

↳androidx.wear.protolayout.proto.LayoutElementProto.SpanVerticalAlignment

Overview

 The alignment of a SpanImage within the line height of the surrounding
 Spannable.
 
Protobuf enum androidx.wear.protolayout.proto.SpanVerticalAlignment

Summary

Enum Constants
SPAN_VERTICAL_ALIGN_BOTTOM
 Align to the bottom of the line (descent of the largest text in this line).
SPAN_VERTICAL_ALIGN_TEXT_BASELINE
 Align to the baseline of the text.
SPAN_VERTICAL_ALIGN_UNDEFINED
 Alignment is undefined.
UNRECOGNIZED
Fields
public static final intSPAN_VERTICAL_ALIGN_BOTTOM_VALUE

 Align to the bottom of the line (descent of the largest text in this line).

public static final intSPAN_VERTICAL_ALIGN_TEXT_BASELINE_VALUE

 Align to the baseline of the text.

public static final intSPAN_VERTICAL_ALIGN_UNDEFINED_VALUE

 Alignment is undefined.

Methods
public static LayoutElementProto.SpanVerticalAlignmentforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

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

public static LayoutElementProto.SpanVerticalAlignmentvalueOf(int value)

public static LayoutElementProto.SpanVerticalAlignmentvalueOf(java.lang.String name)

public static LayoutElementProto.SpanVerticalAlignmentvalues()

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

SPAN_VERTICAL_ALIGN_UNDEFINED

 Alignment is undefined.
 
SPAN_VERTICAL_ALIGN_UNDEFINED = 0;

SPAN_VERTICAL_ALIGN_BOTTOM

 Align to the bottom of the line (descent of the largest text in this line).
 If there is no text in the line containing this image, this will align to
 the bottom of the line, where the line height is defined as the height of
 the largest image in the line.
 
SPAN_VERTICAL_ALIGN_BOTTOM = 1;

SPAN_VERTICAL_ALIGN_TEXT_BASELINE

 Align to the baseline of the text. Note that if the line in the Spannable
 which contains this image does not contain any text, the effects of using
 this alignment are undefined.
 
SPAN_VERTICAL_ALIGN_TEXT_BASELINE = 2;

UNRECOGNIZED

Fields

public static final int SPAN_VERTICAL_ALIGN_UNDEFINED_VALUE

 Alignment is undefined.
 
SPAN_VERTICAL_ALIGN_UNDEFINED = 0;

public static final int SPAN_VERTICAL_ALIGN_BOTTOM_VALUE

 Align to the bottom of the line (descent of the largest text in this line).
 If there is no text in the line containing this image, this will align to
 the bottom of the line, where the line height is defined as the height of
 the largest image in the line.
 
SPAN_VERTICAL_ALIGN_BOTTOM = 1;

public static final int SPAN_VERTICAL_ALIGN_TEXT_BASELINE_VALUE

 Align to the baseline of the text. Note that if the line in the Spannable
 which contains this image does not contain any text, the effects of using
 this alignment are undefined.
 
SPAN_VERTICAL_ALIGN_TEXT_BASELINE = 2;

Methods

public static LayoutElementProto.SpanVerticalAlignment valueOf(java.lang.String name)

public final int getNumber()

public static LayoutElementProto.SpanVerticalAlignment valueOf(int value)

Deprecated: Use LayoutElementProto.SpanVerticalAlignment.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static LayoutElementProto.SpanVerticalAlignment forNumber(int value)

public static <any> internalGetValueMap()

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