![]() The Main module is an Activity module, which contains code that loads screens and reacts to various user actions, such as pressing buttons. It serves as an entry point to the app whenever it is run. The Starter module is a special type of Service module. There are two modules shown-the Main module and the Starter module. Switch to the main window, which should be open along the bottom toolbar of your PC. Now that we have a layout designed, it is time to write some code. I saved the current layout as PhoneLayout01. You will reference this name in the app’s code, so use a naming convention that makes sense to you. Then design as desired, and save with a unique name. In that case, click on New Variant and select the desired type. You may want to design different layouts for different device sizes and orientations. Each variant corresponds to a particular screen size or orientation. Note the top left panel of the Designer, labeled Variants. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |