[TIMOB-10305] Blackberry: Support overriding the default UI unit via tiapp.xml
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Hold |
Resolution Date | 2015-04-14T17:12:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | n/a |
Reporter | Jean-Philippe Lemieux |
Assignee | Pedro Enrique |
Created | 2012-08-03T08:36:26.000+0000 |
Updated | 2017-03-14T03:53:14.000+0000 |
Description
On Android and iOS, the default unit can be overriden on a per-application level by setting the ti.ui.defaultunit property in tiapp.xml. For example, to use DIPs as the default on all platforms, set defaultunit to dip:
dip
The value for ti.ui.defaultunit can be any of the unit specifiers defined above, or system to specify that the platform's default unit should be used.
use Josh's tiapp.xml reader code (orientations) to access default units
Placing these items on hold for the moment based on community interest.
Closing ticket as BlackBerry is no longer supported by us.