Hey,

I'm working on a custom notification where I intent to use a Layer /
List Drawable to switch my icons between black and white.
(Because some phones have light-gray notification bars and some have
black ones I want the user to be able to choose a light or a dark
layout.)

Now I came to see, that the android RemoteViews class contains a
method:
setDrawableParameters(int viewId, boolean targetBackground, int alpha,
int colorFilter, PorterDuff.Mode mode, int level)
which would be gorges to use (Also for setting alpha in desktop
widgets). But sadly it is hidden from the public API which is not
understandable for me.

Does anyone know why we don't get to use this killer method?

And.. can anyone tell me how to best implement the 2 Layouts/Themes
(Dark / Light) for the Notification Bar I need?

Thanks a lot,

Greetings David

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to