Theme for Smart Devices ObjectOfficial Content

Just as web applications requires sophisticated look & feel, applications for Mobile and Smart Devices can also require high-end interfaces. In GeneXus, this can be achieved by using themes.

When you use the Smart Devices Generator, CarmineSD theme-object will be automatically imported into your KB, with two theme-childs: CarmineIOS and CarmineAndroid. These objects will be set in SD Platforms node. There also exist two more themes (backward-compatible) that can be imported and set: SimpleAndroid and SimpleIOS.
Simple Themes for Smart Devices- GeneXus 15

Also, you can create your own Theme based on the Simple one, or new at all (all classes with its default value). In order to create it, use the New Object creation window (CTRL+N) as you would do for any other object. From this window, select the Theme for Smart Devices object and assign it the desired name.
New Theme SD GeneXus 15

A group of classes corresponding to GeneXus controls and sd elements is displayed in the created theme (and also, other components).
SD Theme Classes GeneXus 15

Each class has a set of properties configurable by the designer and constitutes a "design" for a type of GeneXus control. A class can be assigned to a control in design time, and through the Class property at both design-time and run-time.

Styles tab

Displays every component of a theme object in a tree-like interface.

(1) Available as of GeneXus 15 Upgrade 8
(2) Available as of GeneXus 15 Upgrade 9

Color tab

Allows the developer to select a Color Palette Object that applies to the Theme object, displaying which colors are used (in the palette or not) for that theme. Also, for each color, will display a properties list with theme-class that uses such colors. That's simplifies the developer task of discovering which color is applying to.
For more information, refer to Colors Tab of Theme Object.

Images tab

At this tab, all the images used by the Theme object will be displayed. When an image varies with a theme, only the corresponding to this theme is shown.

See also


Start Video Designing through Classes and Themes

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.