May 2017
Beginner to intermediate
238 pages
4h 56m
English
This is fairly simple, and we have seen this in our previous chapter as well. Simply go to your colors.xml file located in the app/res/values/ folder. Here, you can observe multiple hex color code values. A hex color code represents a six-digit alphanumeric value, which is responsible for giving a color. The value starts from #000000 (black) to #ffffff (white).
In our colors.xml, if you observe there are already predefined values as seen in the following screenshot:

In this file, you can tweak in these values or simply add your own values as well. Let's say if you want to add the color red, then you simply ...
Read now
Unlock full access