Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Android system Colors?

I'm searching way to get Android system colors - color theme used in device.

Using android:color/ I didn't get correct colors. For example: background color in my device is BLACK, menu background color is DARKGREY. Values from android:color/ in device is: only BLACK and WHITE backgrounds.

like image 969
Kostadin Avatar asked Dec 12 '11 10:12

Kostadin


People also ask

How do I change the color of my Android icons?

Search for and select Open App, and then, on the New Shortcut page, tap Choose. Locate the app whose appearance you want to change. Back on the New Shortcut page, you'll see the app name; tap More (three dots), change the app's name, tap its icon, select Color, and choose a new color.

What is the Android color?

Android green is a shade of chartreuse or Caribbean green, defined by Google as the color of the Android robot mascot, used as a logo for the Android operating system.


1 Answers

You can get android system color using

android:textColor="@android:color/black"

And this is working fine

like image 99
Dharmendra Avatar answered Sep 17 '22 12:09

Dharmendra