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

Syntax

public enum ComplexUnitType

Remarks

Enumerates values returned by the following: and taken as a parameter of the TypedValue.ApplyDimension, and Android.Widget.TextView.SetTextSize members.

Members

Member NameDescription
Dip DataType.Dimension complex unit: Value is Device Independent Pixels.
Fraction DataType.Fraction complex unit: A basic fraction of the overall size.
FractionParent DataType.Fraction complex unit: A fraction of the parent size.
In DataType.Dimension complex unit: Value is in inches.
MaskComplex data: mask to extract unit information (after shifting by ComplexUnitType.Shift). This gives us 16 possible types, as defined below.
Mm DataType.Dimension complex unit: Value is in millimeters.
Pt DataType.Dimension complex unit: Value is in points.
Px DataType.Dimension complex unit: Value is raw pixels.
ShiftComplex data: bit location of unit information.
Sp DataType.Dimension complex unit: Value is a scaled pixel.

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0