Friday, February 26, 2010

Working with Images

Resource Manager - handles access to all recources in an application. Any class that extends UIComponent, Formatter or Validator has a singleton resourceManager property which can be accessed using code below:


ResourceManager.getInstance();


To resize images set height and width properies to a percentage value (percentage values for these properties to the specified percentage of their parent container).

by default scaleContent = true and maintainAspectRatio = false
Reblog this post [with Zemanta]

No comments:

Post a Comment

Which is better React Native or Native iOS and Android Development for building Mobile applications ?

  React Native vs Native (iOS, Android)   Properties/Feature React Native   Native (iOS) – Swift / Object...

Labels