Hi,
Yes, I had similar thoughts about the image. However I hoped, that
Android was smart enough to somehow work around
this issue, since it does not have to show the complete image, only
the part that currently occupies the display.
But thanks anyway.
Best regards,
Jakob Bjerre Jensen
On 28 Mar., 00:38, "Joe Onorato" <[EMAIL PROTECTED]> wrote:
> Hi Jakob,
>
> That image size would decompress to about 174MB (7445x11998x2), which could
> be more than the total amount of RAM available on some devices. It's pretty
> unlikely to work.
>
> -joe
>
> On Thu, Mar 27, 2008 at 2:52 PM, Jakob Bjerre Jensen <
>
>
>
> [EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I have a large ImageView:
>
> > <ImageView android:id="@..."
> > android:layout_width="7445px"
> > android:layout_height="11998px"
> > android:src="@drawable/img">
> > </ImageView>
>
> > the source img.gif file is 1167KB large. When I run my app, it
> > throws an exception when invoking setContentView(). The error is:
>
> > ComponentInfo{...}: android.view.ViewInflate$Inflate Exception: Binary
> > XML file line #8: Error inflating class java.lang.reflect.Constructor.
>
> > Can this have anything to do with the size of the ImageView? Is there an
> > upper
> > limit for the size?
>
> > Best regards,
> > Jakob Bjerre Jensen- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---