Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

2.1 Docs.Layout

林法鑫 edited this page Jul 19, 2016 · 4 revisions

Layout is same as Android's, files put at res/layout/xxxxx.xml

see Android's Document

Something to attention is:

  • Root element should have a attr: xmlns="android" to auto-completion and check the xml code.
  • After create a new xml file or change the defined ids in xml file, you should run the build-res script to let your js code can reference the layout or ids immediately.
Clone this wiki locally