![]() Creating a Design Template
Contents
1. Using TemplatesHaving templates of frequently used design layouts can make the job of creating new designs much faster. If you’re creating an app with multiple screens and they all require the same navigation bar and toolbar, you don’t want to spend time creating those screens from scratch every time. In Design Center, you can save any design as a template to be recalled again and again. For example, say you want to create a series of gallery screens, each displaying an image and a text description. You want each screen to have a navigation bar with the same label and buttons. You also want each screen to contain a toolbar with Previous and Next icons. Each screen also contains a solid background, an image, and a text widget. You can save each of these items on the template screen. ![]() Gallery template screen example
2. Creating a Template
Note: MobiOne automatically saves the design in the appropriate device template browser. ![]() Saving as a template
3. Creating a New Design from a Template
4. Deleting a Template
![]() Delete Template link
Note: System templates installed with MobiOne Studio cannot be deleted.
5. How Templates are StoredA template consist of two files, a Visual Designer file (*.mobi) and an image of the design. These files are stored in the .mobione folder found in your user home folder as shown below. ![]() Template location
5.1 Images and Linked ResourcesTo increase the portability of a template, image widgets are stored within the template design file. Thus, if you modify the original image on your file system, the template will not display the updated image. You must manually re-insert the updated image into the design template. Linked elements that reference other design files or JavaScript functions are saved within the template design file. Therefore, when you create a new design from a template that contains custom Link properties, you must manually update the Link values.
6. Where Do I Learn More about MobiOne Studio?The MobiOne online Learning Center site provides documents, tips, tutorials and videos to help answer your questions. Remember to check the Learning Center site for new and updated material. ©Copyright 2012 Genuitec, LLC. All Rights Reserved.
|





