Building Mobile Enterprise Applications : webMethods Mobile Development Help : Defining Resources for the Mobile Project : Using custom Android resources
Using custom Android resources
The Android platform build has been extended to take custom resources into account, as this is a common source for native code injections. During the Android build, resources will be copied into the <project>/res directory and thus must follow Android's resources guidelines. To include custom Android resources (e.g. specific drawables, colors.xml), users need to use the property android.project.build.resources.drawables in targets/_defaults_.xml, e.g:
<property name="android.project.build.resources.drawables"
value="native/graphics/android" />
Resources will be copied into the Android project using the following order:
*Copy default files provided by Mobile Designer.
*Copy (and overwrite existing) resources generated by Mobile Development (i.e. when using Styles, Themes).
*Copy (and overwrite existing) resources from ${android.project.build.resources.drawables}.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback