Supporting different resolutions

NeoMAD offers a system that allows resource variations to be defined. These variations can be used to produce a single binary containing various sets of resource files. When running on a device, the application will depend on the native resource variation system to adapt to the device’s configuration. This feature is available in Android, iOS and Windows Phone targets. For targets that do not support resource variations, only the right set of resource files will be kept and packaged in the application.


The system is similar as Android

Providing Default resources

When compiling for a generic target on a platform that supports resource variations (e.g. ANDROID, IPHONE or WINDOWSPHONE80), NeoMAD will keep all the resources corresponding to the variations supported by this platform, as shown in the Screen sizes and densities.

NeoMAD will use the default value if none of the declared variations is supported by the target (for instance, if the normal-high variation is not declared when compiling for a Windows Phone target).