As you know there are already some defined colors in android.R.drawable, like dialog_holo_dark_frame or dialog_holo_light_frame. We can find them in Android SDK reference documents. But, you can not find the color value of the definitions and obviously the document does not list all the system colors.
I searched the AOSP soruce code then got the color list in framework, here it is (I love github, more beautiful than Google code site ^_^):
https://github.com/android/platform_frameworks_base/blob/master/core/res/res/values/colors.xml
You can find all the color definitions used in AOSP, with values. The only problem is lacking the indicator what the color looks like.
I spent a while to search an existed tool for that but failed. Maybe I can write one later. It will be simple, just list all the system color values with a visible indicator so you can easily pick up one.
Update at 10.20:
Wrote a simple app to list the colors:
https://play.google.com/store/apps/details?id=com.droidrise.systemcolors
Subscribe to:
Post Comments (Atom)
Enable HP Zbook Thunderbolt 3 Dock on Ubuntu
As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...
-
As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...
-
To create a button in Android app like this: The layout XML: <Button android:layout_width="match_parent" andro...
-
Recently I tried to setup and build react-native app (mostly for Android), behind a proxy server. To pass the gradle build, need set proxy c...
No comments:
Post a Comment