@ Override protected int getColor ( Context ctx ) { int color ; if ( this . isEnabled ( ) ) { color = ColorHolder . color ( getTextColor ( ) , ctx , R . attr . material_drawer_secondary_text , R . color . material_drawer_secondary_text ) ; } else { color = ColorHolder . color ( getDisabledTextColor ( ) , ctx , R . attr . material_drawer_hint_text , R . color . material_drawer_hint_text ) ; } return color ; }
helper method to decide for the correct color OVERWRITE to get the correct secondary color