Is that code that I pasted any good ? Because if I only use the <bitmap>.....</bitmap> tags/code it won't recognize it... Also why those folders ? Because they actually are created when creating a 1.6 project... The multiple resolutions were introduced with 1.6, versions prior to that should only have one directory, now they have 3 : drawable-dpi, drawable-ldpi, drawable-mdpi
i just tried with bottom|left and this is the result : http://rapidshare.com/files/344319470/device_resized.png.html Is it maybe because I use that full-screen option ? On 1 feb, 13:48, skink <psk...@gmail.com> wrote: > On Feb 1, 1:33 pm, MobDev <developm...@mobilaria.com> 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 > > it's OK, but actually i used "bottom|left" gravity > > what is res/drawable-dpi folder? why not just res/drawable? > > i was using 320x480 image > > 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en