Hi, I think you will need to create two XML files for your layout, each one containing different references to your image. See the following page:http://developer.android.com/guide/practices/screens_support.html Name one myPage-port.xml and the other myPage-land.xml.
Regards, John Goche On Mon, Oct 3, 2011 at 5:11 PM, Amit Mangal <forum.amit.man...@gmail.com>wrote: > Hi Everyone, > > I am having 2 images i want to use that images in my layout background but > one image in portrait mode and one in landscape mode. > please tell me how to change image from moving landscape to portrait mode. > > like 1.png in portrait mode and 2.png in landscape mode. > > thanks > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en