Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Locate the <ANDROID_AGENT_SOURCE_CODE>/client/client/src/main/res/values/colors/ file and update the following colors: 

    ColorUsage
    colorPrimaryThis is the WSO2 IoT Server application background color when in the lighter theme.
    colorPrimaryDarkThis is the WSO2 IoT Server application background color when in the darker theme.
    colorButtonThis is the button color prior to pressing.
    colorButtonPressedThis is the button color when pressed.
    colorButtonBorderThis is the button border color.
    topBannerTextThis is the top banner text color of the WSO2 IoT Server application.

    Example: 

    Code Block
    <color name="colorPrimary">#ef6c00</color>
    <color name="colorPrimaryDark">#bf360c</color>
    <color name="colorButton">#EF6C00</color>
    <color name="colorButtonPressed">#e78535</color>
    <color name="colorButtonBorder">#C77627</color>
    <color name="topBannerText">#ffffffff</color>

    Next, you can either build the new APK file or perform other changes.

Changing Android Agent logos and icons

...