Hexagon Geospatial
MENU

Developers Knowledge Base

Mobile and field solutions function as an extension of the overall enterprise, and include the ability to access, create, review and update geospatial data and asset information in real-time in the field.
Showing results for 
Search instead for 
Do you mean 

How to style SDK application

by Technical Evangelist ‎11-15-2017 01:00 AM - edited ‎11-15-2017 01:02 AM (329 Views)

Note: Available from version:16.0.2.7

 

Mobile SDK  allows you to create styled application.  At this moment you can change main color, background and logo.

 

Changing main color

To change main color of application, change primary-color variable in: YOUR_APP_FOLDER/src/resources/style/variables.sass file by setting color in hex

e.g. $primary-color: #FF0000

 

Changing background

To change background of application replace YOUR_APP_FOLDER/src/resources/background.svg file or add your svg background file to

YOUR_APP_FOLDER/src/resources folder and change variable “primary-background-path” in YOUR_APP_FOLDER/src/resources/style/variables.sass.

e.g. $primary-background-path: "../your_custom_background.svg"

 

Changing logo

To update application logo replace YOUR_APP_FOLDER/src/resources/logo.png file or add your own png logo file and change YOUR_APP_FOLDER/src/resources folder and change variable “primary-logo-path” in YOUR_APP_FOLDER/src/resources/style/variables.sass.

e.g. $primary-logo-path: "../your_custom_logo.png"

 

 

Overview
Contributors