Wednesday, February 29, 2012

[android-developers] Re: Avoiding FAILED BINDER TRANSACTION error when updating lots of widget bitmaps

I think that medium density is being used by default. The only way I
found to "bypass" it is by using explicit width and height in the xml
layout, e.g.
        android:layout_height="200px" />

other, better ideas are welcomed.

On Feb 23, 7:28 pm, YuviDroid <> wrote:
> I think I found the problem...and it looks like it's an Android bug.
> Drawable.createFromStream() doesn't take as parameter a Resources object,
> and later it calls Drawable.createFromResourceStream() passing 'null' as
> the Resources parameter.
> From my understanding the resources are then used to ensure that the
> drawable will set its target density correctly, but by being 'null' some
> default density is used.

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment