This page descibes customization that you can do with android SDK.

Override default color

If you want to override default color then please make following changes in your app.

  • Add following changes in your "app/src/main/res/values/styles.xml"`.
   <!-- Customize QWSDK theme here." -->
     <style name="LibTheme" parent="MyMaterialThemeLib.Base"></style>

     <!--  Please don't change parent="Theme.AppCompat.Light.NoActionBar.Your app might crash -->
     <style name="MyMaterialThemeLib.Base" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>
     </style>

  • Add following changes in your "app/src/main/res/values/colors.xml".
    <?xml version="1.0" encoding="utf-8"?>
    <resources>
    <color name="colorPrimary">#3F51B5</color>
    <color name="colorPrimaryDark">#303F9F</color>
    <color name="colorAccent">#FF4081</color>
    <!-- Button state pressed color. Add below code to override default color of button (pressed state)  -->
    <color name="colorPrimaryLIB">#303F9F</color>
    <!-- Button state unpressed color. Add below code to override default color of button (unpressed state)-->
    <color name="colorPrimaryDarkLIB">#303F9F</color>
    <!-- Set button text color. Add below code to overrode default text color of buttons in sdk-->
    <color name="button_text_color">#FFFFFF</color>
    </resources>

Override default font

If you want to override default font then please make below change on you app.

  • Add following changes in your "app/src/main/res/values/styles.xml"`.
    <!-- Base application theme. -->
    <style name="AppTheme" parent="app parent">
    <!-- Customize your font here. Replace monospace with your choice -->
    <item name="android:typeface">monospace</item> 
    </style>