Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Coding a Mobile Application : Asset Catalogs : Android Auto-scaling
Android Auto-scaling
When selecting a handset-appropriate version of your Image from the asset catalog, most handsets will pick the Image that best suits the current screen and use it directly without any further modification. Android devices, however, will attempt to match the selected Image to the screen as closely as possible by scaling the Image during loading.
However, this auto-scaling feature on Android can be disabled by calling the following method:
AssetImageLoader.setAndroidScaling(false);
Note:  
This is not available on other platforms (including Phoney) and must be done as a native-injection.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback