Język

SpanAlign Enum

Definition

Enumerates values returned by the VerticalAlignment, Baseline, and Bottom members and taken as a parameter of several methods of ImageSpan.

public enum SpanAlign
type SpanAlign = 
Inheritance
SpanAlign

Fields

Name Value Description
Bottom 0

A constant indicating that the bottom of this span should be aligned with the bottom of the surrounding text, i.e., at the same level as the lowest descender in the text.

Baseline 1

A constant indicating that the bottom of this span should be aligned with the baseline of the surrounding text.

Center 2

A constant indicating that this span should be vertically centered between the top and the lowest descender.

Android reference for android.text.style.DynamicDrawableSpan.ALIGN_CENTER.

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.

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