webMethods Mobile Suite  | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Creating Mobile Application Projects | 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 select the image that best suits the current screen and use it directly without any further modification. Android devices, however, attempt to match the selected image to the screen as closely as possible by scaling the image during loading.
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 © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.