Resources. Fraction(Int32, Int32, Int32) Get
Fraction(Int32, Int32, Int32)
Retrieve a fractional unit for a particular resource ID.
[Android.Runtime.Register("getFraction", "(III)F", "GetGetFraction_IIIHandler", ApiSince=3)] public virtual float GetFraction (int id, int base, int pbase);
abstract member GetFraction : int * int * int -> single override this.GetFraction : int * int * int -> single
The desired resource identifier, as generated by the aapt tool. This integer encodes the package, type, and resource entry. The value 0 is an invalid identifier.
The base value of this fraction. In other words, a standard fraction is multiplied by this value.
The parent base value of this fraction. In other words, a parent fraction (nn%p) is multiplied by this value.
Throws NotFoundException if the given ID does not exist.