Customize the Theme
Geocortex Mobile's appearance is built around two concepts: theme and layout. The theme controls the color scheme of the app, while the layout controls the organization of content.
note
The theme can be partially configured by using the Geocortex Mobile Designer.
#
PrerequisitesFollow along by setting up the Geocortex Mobile SDK and editing the minimal layout and app config provided.
tip
If you just need to make a small change to the layout and app config of an existing application, you can download the config and layout files for the application, tweak them, and then re-upload them.
#
Create a Basic AppLet's create a basic application with layout and config that we can theme.
- Layout
- App Config
#
Add Configuration for the Branding ServiceNext, we are going to add an app item to configure the Branding Service, which manages application theming.
#
Add a New ThemeThe branding service can be configured with a list of themes. Let's configure our branding service with a new theme with that has a custom background color.
You can customize the theme by changing any of the built-in color keys used for themes.
- App Config
- UI

#
Relevant SDK SamplesThe Geocortex Mobile SDK Samples has an example of changing the theme through configuration.