Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android holo light what is the background color

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. :(

like image 908
user2707175 Avatar asked Dec 16 '22 04:12

user2707175


2 Answers

<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.

like image 110
Jon F Hancock Avatar answered Jan 17 '23 16:01

Jon F Hancock


I tried

<color name="background_holo_light">#26f3f3f3</color>

It's the right color for the background Holo light Theme

like image 40
mattyU Avatar answered Jan 17 '23 14:01

mattyU