ComplexUnitType 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
ComplexUnitTypeComplexUnitType

Fields

Dip Dip 1

Dimensioncomplex unit: Value is Device Independent Pixels.

Fraction Fraction 0

Fractioncomplex unit: A basic fraction of the overall size.

FractionParent FractionParent 1

Fractioncomplex unit: A fraction of the parent size.

In In 4

Dimensioncomplex unit: Value is in inches.

Mask Mask 15

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

Mm Mm 5

Dimensioncomplex unit: Value is in millimeters.

Pt Pt 3

Dimensioncomplex unit: Value is in points.

Px Px 0

Dimensioncomplex unit: Value is raw pixels.

Shift Shift 0

Complex data: bit location of unit information.

Sp 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