Re: [android-developers] Re: Change background after an Orientation change

2010-06-24 Thread Thierry Legras
I have the similar issue, the answer is interesting but i am wondering if i can avoid specifying an alternate landscape layout just for that in my case: indeed i don't want to have 2 different background pictures for horizontal/vertical layout but just to fit to screen with height/width ratio

Re: [android-developers] Re: Change background after an Orientation change

2010-06-24 Thread Thierry Legras
argggh, the layout-land folder does not work. i guess it is because i have added android:configChanges=orientation in my manifest. ok i had better reread this article from the beginning twice :-| http://www.androidguys.com/2008/10/14/rotational-forceson-your-android-app/ 2010/6/24 Thierry Legras

[android-developers] Re: Change background after an Orientation change

2010-06-09 Thread Kumar Bibek
Sure, you have to create a different layout file for the landscape mode with a different background image in the layout-land folder. Try searching for it in the docs and you will get an idea on what and how to do it. http://tech-droid.blogspot.com/2009/10/orientation-independent-applications.html