android holo light what is the background color

user2707175 picture user2707175 · Nov 9, 2013 · Viewed 10.1k times · Source

android:minSdkVersion="14" android:targetSdkVersion="18"

In theory simple thing. What is the background color for holo.light as I want to use the same color for something else? It's not white neither background_light. Moreover my question is not how to determine its value but what android predefined constant to use (as if one day google change this light background color in holo light, my color would also change).

Btw, transparent color is not the solution in this case. :(

Answer

Jon F Hancock picture Jon F Hancock · Nov 9, 2013
<color name="background_holo_light">#fff3f3f3</color>

You can find this by using the awesome chrome extension Android Resource Navigator.

https://chrome.google.com/webstore/detail/android-resource-navigato/agoomkionjjbejegcejiefodgbckeebo

You should be able to use @android:color/background_holo_light or android.R.color.background_holo_light I think.