protected int getSelectedColor(Context ctx) {
        if (getBooleanStyleable(ctx, R.styleable.MaterialDrawer_material_drawer_legacy_style, false)) {
            return ColorHolder.color(getSelectedColor(), ctx, R.attr.material_drawer_selected_legacy, R.color.material_drawer_selected_legacy);
        } else {
            return ColorHolder.color(getSelectedColor(), ctx, R.attr.material_drawer_selected, R.color.material_drawer_selected);
        }
    }
protected int getSelectedColor ( Context ctx ) { if ( getBooleanStyleable ( ctx , R . styleable . MaterialDrawer_material_drawer_legacy_style , false ) ) { return ColorHolder . color ( getSelectedColor ( ) , ctx , R . attr . material_drawer_selected_legacy , R . color . material_drawer_selected_legacy ) ; } else { return ColorHolder . color ( getSelectedColor ( ) , ctx , R . attr . material_drawer_selected , R . color . material_drawer_selected ) ; } }
helper method to decide for the correct color

@param ctx
@return