Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
   
   
  
    
    
  
    
    
  
R.color 
This package is part of the
Android support library  which
is no longer maintained.
The support library has been superseded by AndroidX 
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating  existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings . 
 
  public
  static
  final
  
  class
  R.color
  
    extends Object
  
  
  
  
  
  
  
    
    java.lang.Object
     
   
  
  
    
         ↳ 
    
    android.support.v7.appcompat.R.color
     
   
  
  
    
Summary 
Inherited methods 
  
     From
class
  
    java.lang.Object
  
  
  
  
    
      
  
  
  
  
    
        
        
        
        
        
        Object
    
      
      clone()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        boolean
    
      
      equals(Object arg0)
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        void
    
      
      finalize()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        Class<?>
    
      
      getClass()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        int
    
      
      hashCode()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
    
      
      notify()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
    
      
      notifyAll()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        String
    
      
      toString()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
    
      
      wait(long arg0, int arg1)
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
    
      
      wait(long arg0)
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
    
      
      wait()
      
      
     
   
  
    
   
 
  
Fields 
    abc_background_cache_hint_selector_material_dark 
    
int abc_background_cache_hint_selector_material_dark 
    
 
    abc_background_cache_hint_selector_material_light 
    
int abc_background_cache_hint_selector_material_light 
    
 
    abc_btn_colored_borderless_text_material 
    
int abc_btn_colored_borderless_text_material 
    
 
    abc_btn_colored_text_material 
    
      
      
  
    
int abc_btn_colored_text_material 
    
 
    abc_color_highlight_material 
    
int abc_color_highlight_material 
    
 
    abc_hint_foreground_material_dark 
    
      
      
  
    
int abc_hint_foreground_material_dark 
    
 
    abc_hint_foreground_material_light 
    
      
      
  
    
int abc_hint_foreground_material_light 
    
 
    
    
int abc_input_method_navigation_guard 
    
 
    abc_primary_text_disable_only_material_dark 
    
int abc_primary_text_disable_only_material_dark 
    
 
    abc_primary_text_disable_only_material_light 
    
int abc_primary_text_disable_only_material_light 
    
 
    abc_primary_text_material_dark 
    
int abc_primary_text_material_dark 
    
 
    abc_primary_text_material_light 
    
int abc_primary_text_material_light 
    
 
    abc_search_url_text 
    
int abc_search_url_text 
    
 
    abc_search_url_text_normal 
    
int abc_search_url_text_normal 
    
 
    abc_search_url_text_pressed 
    
int abc_search_url_text_pressed 
    
 
    abc_search_url_text_selected 
    
int abc_search_url_text_selected 
    
 
    abc_secondary_text_material_dark 
    
int abc_secondary_text_material_dark 
    
 
    abc_secondary_text_material_light 
    
int abc_secondary_text_material_light 
    
 
    abc_tint_btn_checkable 
    
int abc_tint_btn_checkable 
    
 
    abc_tint_default 
    
int abc_tint_default 
    
 
    abc_tint_edittext 
    
int abc_tint_edittext 
    
 
    abc_tint_seek_thumb 
    
int abc_tint_seek_thumb 
    
 
    abc_tint_spinner 
    
int abc_tint_spinner 
    
 
    abc_tint_switch_track 
    
int abc_tint_switch_track 
    
 
    accent_material_dark 
    
int accent_material_dark 
    
 
    accent_material_light 
    
int accent_material_light 
    
 
    background_floating_material_dark 
    
int background_floating_material_dark 
    
 
    background_floating_material_light 
    
int background_floating_material_light 
    
 
    background_material_dark 
    
int background_material_dark 
    
 
    background_material_light 
    
int background_material_light 
    
 
    bright_foreground_disabled_material_dark 
    
int bright_foreground_disabled_material_dark 
    
 
    bright_foreground_disabled_material_light 
    
int bright_foreground_disabled_material_light 
    
 
    bright_foreground_inverse_material_dark 
    
int bright_foreground_inverse_material_dark 
    
 
    bright_foreground_inverse_material_light 
    
int bright_foreground_inverse_material_light 
    
 
    bright_foreground_material_dark 
    
int bright_foreground_material_dark 
    
 
    bright_foreground_material_light 
    
int bright_foreground_material_light 
    
 
    
    
int button_material_light 
    
 
    dim_foreground_disabled_material_dark 
    
int dim_foreground_disabled_material_dark 
    
 
    dim_foreground_disabled_material_light 
    
int dim_foreground_disabled_material_light 
    
 
    dim_foreground_material_dark 
    
int dim_foreground_material_dark 
    
 
    dim_foreground_material_light 
    
int dim_foreground_material_light 
    
 
    error_color_material_dark 
    
      
      
  
    
int error_color_material_dark 
    
 
    error_color_material_light 
    
      
      
  
    
int error_color_material_light 
    
 
    foreground_material_dark 
    
int foreground_material_dark 
    
 
    foreground_material_light 
    
int foreground_material_light 
    
 
    highlighted_text_material_dark 
    
int highlighted_text_material_dark 
    
 
    highlighted_text_material_light 
    
int highlighted_text_material_light 
    
 
    material_blue_grey_800 
    
int material_blue_grey_800 
    
 
    material_blue_grey_900 
    
int material_blue_grey_900 
    
 
    material_blue_grey_950 
    
int material_blue_grey_950 
    
 
    material_deep_teal_200 
    
int material_deep_teal_200 
    
 
    material_deep_teal_500 
    
int material_deep_teal_500 
    
 
    material_grey_100 
    
int material_grey_100 
    
 
    material_grey_300 
    
int material_grey_300 
    
 
    material_grey_50 
    
int material_grey_50 
    
 
    material_grey_600 
    
int material_grey_600 
    
 
    material_grey_800 
    
int material_grey_800 
    
 
    material_grey_850 
    
int material_grey_850 
    
 
    material_grey_900 
    
int material_grey_900 
    
 
    notification_action_color_filter 
    
      
      
  
    
int notification_action_color_filter 
    
 
    notification_icon_bg_color 
    
      
      
  
    
int notification_icon_bg_color 
    
 
    primary_dark_material_dark 
    
int primary_dark_material_dark 
    
 
    primary_dark_material_light 
    
int primary_dark_material_light 
    
 
    primary_material_dark 
    
int primary_material_dark 
    
 
    primary_material_light 
    
int primary_material_light 
    
 
    primary_text_default_material_dark 
    
int primary_text_default_material_dark 
    
 
    primary_text_default_material_light 
    
int primary_text_default_material_light 
    
 
    primary_text_disabled_material_dark 
    
int primary_text_disabled_material_dark 
    
 
    primary_text_disabled_material_light 
    
int primary_text_disabled_material_light 
    
 
    ripple_material_dark 
    
int ripple_material_dark 
    
 
    ripple_material_light 
    
int ripple_material_light 
    
 
    secondary_text_default_material_dark 
    
int secondary_text_default_material_dark 
    
 
    secondary_text_default_material_light 
    
int secondary_text_default_material_light 
    
 
    secondary_text_disabled_material_dark 
    
int secondary_text_disabled_material_dark 
    
 
    secondary_text_disabled_material_light 
    
int secondary_text_disabled_material_light 
    
 
    switch_thumb_disabled_material_dark 
    
int switch_thumb_disabled_material_dark 
    
 
    switch_thumb_disabled_material_light 
    
int switch_thumb_disabled_material_light 
    
 
    switch_thumb_material_dark 
    
int switch_thumb_material_dark 
    
 
    switch_thumb_material_light 
    
int switch_thumb_material_light 
    
 
    switch_thumb_normal_material_dark 
    
int switch_thumb_normal_material_dark 
    
 
    switch_thumb_normal_material_light 
    
int switch_thumb_normal_material_light 
    
 
    
    
      
      
  
    
int tooltip_background_dark 
    
 
    
    
      
      
  
    
int tooltip_background_light 
    
 
Public constructors 
 
 
  
  
     
  
    
      
       
    
    
      
    
     
  
       
    
    
      
 
  Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]