I got dimension values set in both values and values-land folders and
used as the width/height of a layout. I change the screen-orientation
programmatically to landscape in my activity:

  setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
but the layout dimensions are not the ones declared in values-land
folder dimens.xml.

I suspect that since the orientation is specific just to this
activity, the application doesn't provide the updated resources.

Is there a way to change the orientation of the whole application, or
reference to the landscape resources from code?

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

Reply via email to