ComplexUnitType Enum

Definition

Enumerates values returned by several methods of ComplexUnitType and taken as a parameter of the F:Android.Util.TypedValue.ApplyDimension, and F:Android.Widget.TextView.SetTextSize members.

public enum ComplexUnitType
type ComplexUnitType = 
Inheritance
ComplexUnitType

Fields

Dip 1

Dimensioncomplex unit: Value is Device Independent Pixels.

Fraction 0

Fractioncomplex unit: A basic fraction of the overall size.

FractionParent 1

Fractioncomplex unit: A fraction of the parent size.

In 4

Dimensioncomplex unit: Value is in inches.

Mask 15

Complex data: mask to extract unit information (after shifting by Shift).

Mm 5

Dimensioncomplex unit: Value is in millimeters.

Pt 3

Dimensioncomplex unit: Value is in points.

Px 0

Dimensioncomplex unit: Value is raw pixels.

Shift 0

Complex data: bit location of unit information.

Sp 2

Dimensioncomplex unit: Value is a scaled pixel.

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