On Feb 1, 1:33 pm, MobDev <[email protected]> wrote: > hhmmm... > Ok I just created a proxy.xml file within the res/drawable-dpi folder > using this code : > > <?xml version="1.0" encoding="utf-8"?> > <bitmap > xmlns:android="http://schemas.android.com/apk/res/android" > android:src="@drawable/bgimage" > android:gravity="bottom"> > </bitmap> > > afterwards I created (in my main.xml file) the following : > > <?xml version="1.0" encoding="utf-8"?> > <FrameLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:background="@drawable/proxy" > android:layout_height="fill_parent" > android:layout_width="fill_parent"> > </FrameLayout> > > So where does that BitmapDrawable come into the equation ? :D > > On 1 feb, 13:23, skink <[email protected]> wrote: > > > > > MobDev wrote: > > > About your solution : > > > If I try that it will actually resize the background to a little > > > version of itself and place it aligned with the bottom of the screen, > > > anwyays it WILL get resized/scaled... > > > i've test it five minutes ago to make sure that setting gravity in > > BitmapDrawable prevents Bitmap from scaling. > > > maybe you forgot to change layout's background from original png image > > to its BitmapDrawable proxy? > > > pskink
-- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

