The City Docs
7.4
7.4
  • Welcome
  • ADMIN PANEL
    • Import Project
    • Structure
    • Notification
    • MySQL Database
    • Add New Category
    • News Info
    • Custom Color
    • Change Log
  • ANDROID
    • Getting Started
      • Installation
      • Import Project
    • Structure
    • Package Name ( app id )
    • Firebase [must]
    • REST API
      • Configure API Url
      • Validate Your Web
    • Category
      • Integration
      • Add New
    • Remote Config
    • Ad Networks
    • Maps Configuration
    • Sort By Distance
    • Lazy Load
    • SQLite Database
    • Custom Color
    • Change Log
  • License
Powered by GitBook
On this page
  1. ANDROID

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>
PreviousSQLite DatabaseNextChange Log