Custom Color

In Material Design Rule we should define any color that used in app. For All project you can customize your own color by editing res/values/color.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
 
    <color name="colorPrimary">#568AB7</color>
    <color name="colorPrimaryDark">#4576a1</color>
    <color name="colorPrimaryLight">#709cc2</color>
 
    <color name="colorAccent">#E6C14D</color>
    <color name="colorAccentDark">#C4A035</color>
    <color name="colorAccentLight">#FEEAAB</color>
 
    <color name="grey_hard">#96989A</color>
    <color name="grey_medium">#BDBFC1</color>
    <color name="grey_soft">#F5F5F5</color>
    <color name="grey_dark">#332C2B</color>
 
    <color name="grey_bg">#E6E6E6</color>
    <color name="icon_drawer_color">#727272</color>
    <color name="drawer_header_bg">#568AB7</color>
 
    <color name="marker_primary">#1F59A6</color>
    <color name="marker_secondary">#EE792A</color>
 
    <!-- Two Array bellow use for theme chooser -->
    <string-array name="arr_main_color_name">
        <item >Default</item>
        <item >Red</item>
        <item >Pink</item>
        . . .
    </string-array>
 
    <string-array name="arr_main_color_code">
        <item >#568AB7</item>
        <item >#F44336</item>
        <item >#EC407A</item>
        . . .
    </string-array>
 
</resources>

Last updated