If i use setContentView in onConfigurationChanged it works but i have to get all views from layout again. Any other ideas ?
On Mon, Jul 12, 2010 at 4:46 PM, Martin Obreshkov <manig...@gmail.com>wrote: > Nothing happens still the image from portrait view is shown > > > On Mon, Jul 12, 2010 at 4:41 PM, Mark Murphy <mmur...@commonsware.com>wrote: > >> On Mon, Jul 12, 2010 at 9:31 AM, Martin Obreshkov <manig...@gmail.com> >> wrote: >> > @Override >> > public void onConfigurationChanged(Configuration conf) { >> > super.onConfigurationChanged(conf); >> > >> mImageView.setImageDrawable(getResources().getDrawable(mBackgroundDrawableId)); >> > } >> >> On a whim, try mImageView.setImageResource(mBackgroundDrawableId); >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com | http://github.com/commonsguy >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> Android App Developer Books: http://commonsware.com/books >> >> -- >> 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<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > When I raise my flashing sword, and my hand takes hold on judgment, I will > take vengeance upon mine enemies, and I will repay those who haze me. Oh, > Lord, raise me to Thy right hand and count me among Thy saints. > -- When I raise my flashing sword, and my hand takes hold on judgment, I will take vengeance upon mine enemies, and I will repay those who haze me. Oh, Lord, raise me to Thy right hand and count me among Thy saints. -- 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