What are the default color values for the Holo theme on Android 4.0?

后端 未结 2 2047
-上瘾入骨i
-上瘾入骨i 2020-11-30 17:25

Does anyone have access to a list of the default colours used in the Holo them (light and dark) on Android 4.0?

I\'m looking for things like list backgrounds, primar

2条回答
  •  隐瞒了意图╮
    2020-11-30 18:03

    If you want the default colors of Android ICS, you just have to go to your Android SDK and look for this path: platforms\android-15\data\res\values\colors.xml.

    Here you go:

    
        #fff3f3f3
        #ff000000
        #ff000000
        #fff3f3f3
        @android:color/background_holo_light
        @android:color/background_holo_dark
        #ff4c4c4c
        #ffb2b2b2
        @android:color/bright_foreground_holo_light
        @android:color/bright_foreground_holo_dark
        #bebebe
        #80bebebe
        #323232
        #80323232
        #808080
        #323232
        #80323232
        #bebebe
        #80bebebe
        #808080
        #6633b5e5
        #6633b5e5
        #5c5cff
        #0000ee
    

    This for the Background:

    #ff000000
    #fff3f3f3
    

    You won't get the same colors if you look this up in Photoshop etc. because they are set up with Alpha values.

    Update for API Level 19:

    
        #ffffffff
        #ff000000
        #ff000000
        #ff000000
        #ff111111
        #ff454545
        #ff000000
        #60000000
        
        #80000000
        
        #80ffffff
        #80ffffff
        #ffffffff
        #ff000000
        #00000000
        #ff000000
        #ffffffff
        @android:color/background_light
        @android:color/background_dark
        #80ffffff
        #80000000
        @android:color/bright_foreground_light
        @android:color/bright_foreground_dark
        #bebebe
        #80bebebe
        #323232
        #80323232
        #808080
        #323232
        #80323232
        #bebebe
        #80bebebe
        #808080
        #9983CC39
        #9983CC39
        #5c5cff
        #0000ee
        #177bbd
    
        @drawable/stat_notify_sync_anim0
        @drawable/stat_sys_download_done_static
        @drawable/stat_sys_upload_anim0
        @drawable/panel_background
        @drawable/popup_full_dark
        @drawable/popup_full_bright
        @drawable/menu_background
        @drawable/menu_background_fill_parent_width
        @drawable/editbox_dropdown_background_dark
        @drawable/editbox_dropdown_background
    
        @drawable/dialog_full_holo_dark
        @drawable/dialog_full_holo_light
    
        #fff9f9f9
        @drawable/screen_background_holo_dark
        #ff000000
    
        
        #ff0092f4
    
        
        #ffffd
        #aaa
    
        
        #33b5e5
        #33b5e5
        #cc222222
        #ffffbb33
    
        
        #7fa87f
        @android:color/black
        @android:color/black
        @android:color/lighter_gray
    
        
        @android:color/black
        @android:color/black
    
        
        #ffffff
        #a7d84c
        #ffffff
        #e69310
        #fe0a5a
    
        
        #ffffffff
        #ffffffff
        #ffffffff
        #ff9a9a9a
    
        
        #ffffffff
        #ff808080
        #ffffffff
    
        
        #CC000000
    
        
          #fff3f3f3
          #ff000000
        #ff000000
        #fff3f3f3
        @android:color/background_holo_light
        @android:color/background_holo_dark
        #ff4c4c4c
        #ffb2b2b2
        @android:color/bright_foreground_holo_light
        @android:color/bright_foreground_holo_dark
        #bebebe
        #80bebebe
        #323232
        #80323232
        #808080
        #323232
        #80323232
        #bebebe
        #80bebebe
        #808080
        #6633b5e5
        #6633b5e5
        #5c5cff
        #0000ee
    
        
        
        #46c5c1ff
        #2699cc00
    
        #ffffffff
        #4699cc00
    
        
        
        #fffeaa0c
        #fff17a0a
        #ffffffff
    
        
        
    
        
        #ff33b5e5
        
        #33999999
        
        #ff99cc00
        
        #ffff4444
        
        #ff0099cc
        
        #ff669900
        
        #ffcc0000
        
        #ffaa66cc
        
        #ffffbb33
        
        #ffff8800
        
        #ff00ddff
        
        #33CCCCCC
    
        #3333B5E5
        #0cffffff
    
        
        #ffffffff
        #80000000
        #ffffffff
        #ff35b5e5
    
        #80ffff00
    
    

提交回复
热议问题