A QML Type

A helper component to access Android specific information More...

Import Statement: import QuickAndrid .

Properties

Methods

Detailed Description

Property Documentation

dp : real

Device Independent Pixel value


dpi : real


Method Documentation

drawable( name, tintColor)

Return an URL of drawable resource by given the resource name and tintColor(optional)

Example: A.drawable("ic_back"); // Return image://drawable/ic_back

A.drawable("ic_back","#ffffff"); // Return image://drawable/ic_back?tintColor=%23deffffff


px( dp)


setTimeout( func, interval)

It is equivalent to Javascript setTimeout() function