TypedValue.ComplexUnit Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the complex unit type for this value.
public virtual Android.Util.ComplexUnitType ComplexUnit { [Android.Runtime.Register("getComplexUnit", "()I", "GetGetComplexUnitHandler", ApiSince=22)] get; }
[<get: Android.Runtime.Register("getComplexUnit", "()I", "GetGetComplexUnitHandler", ApiSince=22)>]
member this.ComplexUnit : Android.Util.ComplexUnitType
Property Value
The complex unit type.
- Attributes
Remarks
Return the complex unit type for this value. For example, a dimen type with value 12sp will return #COMPLEX_UNIT_SP
. Only use for values whose type is #TYPE_DIMENSION
.
Java documentation for android.util.TypedValue.getComplexUnit()
.
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.