Returns the current theme used on the mobile device.
Remark: This theme is the one used automatically by the mobile device (defined in the device settings). It does not correspond to the theme defined through programming with
ChangeTheme.
// Display a light image if the dark theme is displayed
IF SysTheme() = stThemeDark THEN
IMG_Image = "light_image.jpg"
END
Syntax
<Result>: Integer constant
Visual theme displayed on the device: | |
stThemeDark | The dark theme of the device is used. |
stThemeLight | The light theme of the device is used. |
stThemeUnknown | The theme used is unknown. |
Component: wd280android.aar