found to "bypass" it is by using explicit width and height in the xml
layout, e.g.
<ImageView
android:id="@+id/imageView1"
android:layout_width="480px"
android:layout_height="200px" />
other, better ideas are welcomed.
On Feb 23, 7:28 pm, YuviDroid <yuvidr...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment