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 and iOS targets. For targets that do not support resource variations, only the right set of resource files will be kept and packaged in the application.

Note

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 or IPHONE), 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.