こちらAndroidにはxmlからUIを作る昨日がついているがMapViewを普通に設定するとだめで、Viewのカスタムコンポーネントとして設定してやらないとダメらしい。
aaptがコンパイルするそうだが、詳細がわからん。まともなヘルプといえばaapt自体のヘルプくらいか
Android Asset Packaging Tool
Usage:
aapt l[ist] [-v] file.{zip,jar,apk}
List contents of Zip-compatible archive.
aapt p[ackage] [-c][-f][-g][-s][-u][-m][-v][-x][-M AndroidManifest.xml] \
[-l locale1[,locale2,...]] [-d device1[,device2,...]] \
[-I base-package [-I base-package ...]] \
[-A asset-source-dir] [-P public-definitions-file] \
[-S resource-source-dir] \
file.{zip,jar,apk} [raw-files-dir [raw-files-dir] ...]
Create or update the named Zip-compatible archive. All files in raw-files-dir
will be added to the archive, as will selected directories in asset-root-dir
(which should contain a 'default' directory and some locale-specific
directories). The named locales and vendors will be added, all others
will be excluded.
aapt c[ompile] [-m][-v][-x] [-M AndroidManifest.xml] [-J R-file-dir] \
[-A asset-source-dir] [-S resource-source-dir] \
[-I base-package [-I base-package ...]] \
[-P public-definitions-file] [-R resource-intermediates-dir] \
[raw-files-dir [raw-files-dir] ...]
Compile binary resources from assets. Scans through asset-root-dir
for all sources that need to be compiled to binary assets.
If the -J option is specified, the "R.java" files will be generated
in the indicated directory. A class "R" will be generated in the
package specified by AndroidManifest.xml.
aapt d[elete] [-v] file.{zip,jar,apk} file1 [file2 ...]
Delete specified files from Zip-compatible archive.
aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
Add specified files to Zip-compatible archive.
aapt v[ersion]
Print program version.
Modifiers:
-d one or more device assets to include, separated by commas
-c compile resources from assets
-f force overwrite of existing files
-g only write generated assets; do not package source assets
-j specify a jar or zip file containing classes to include
-l one or more locale assets to include, separated by commas
-m make package directories under location specified by -J
-s sync existing packages (update + remove deleted files)
-u update existing packages (add new, replace older)
-v verbose output
-x create extending (non-application) resource IDs
-z require localization of resource attributes marked with localization="suggested"
-A additional directory in which to find raw asset files
-I add an existing package to base include set
-J specify where to output R.java resource constant definitions
-M specify full path to AndroidManifest.xml to include in zip
-P specify where to output public resource definitions
-R specify directory containing generated resource files (in or output)
-S additional directory in which to find resource source assets
-0 don't compress files we're adding