If you don't want to copy / modify classes:

private void setActionBarUpTint(int color) {

        int upId = getResources().getIdentifier("android:id/up", null, 
null);
        if(upId == 0) return ;

        View view = getWindow().getDecorView().findViewById(upId);
        if(!(view instanceof ImageView)) return ;
        
        ImageView imageView = (ImageView) view;
        imageView.setColorFilter(color);
    }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to