Hello.

thanks for the reply, i have tryed with the "stretch to fit" to "zoom
to fit" and it dident solve the issue on the tablet.
And i see this problem on the emulator when i run it on my computer.

On 28 Maj, 11:50, Iain King <[email protected]> wrote:
> On Monday, 28 May 2012 10:38:01 UTC+1, Kristoffer wrote:
>
> > Hello.
> > Iam using a small image and repeats it as a background in my app,
> > this
> > is how i do it.
>
> > bgrepeat.png
> > backgroundrepeat.xml
>
> > i have them in the drawable folder.
>
> > This is how the .xml look like.
>
> > <bitmap
> >     xmlns:android="http://schemas.android.com/apk/res/android";
> >     android:src="@drawable/bgrepeat"
> >     android:tileMode="repeat"
> >     android:dither="true"
> > />
>
> > And i just call in in xml like this.
> > android:background="@drawable/backgroundrepeat"
>
> > If i run this on my Galaxy S2 then the background repeats and looks
> > good, but if i try on a tablet (galaxy 8.9) then it does not repeat
> > it
> > just zooms the bgrepeat.png file, and same result in emulator on my
> > pc.
>
> > I need to know that this will work on most devices, and why it doesent
> > work on every device.. bug?
> > Any idees?
>
> I'm not sure if this is your issue, but I had a slight glitch on a tablet:
> the tablet had a user controlled scaling thing to 'help' it better run
> phone games.  My app automatically detected the screen size and scaled
> itself accordingly, but if the tablet's scaler was turned on then it messed
> it up. The user report was:
>
> ---
> Had a slight issue with the background image not filling the screen but was
> easily resolved by changing settings from "stretch to fit" to "zoom to fit"
> ---
>
> Same issue?
>
> Iain

-- 
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

Reply via email to