because the width and height values differ int he landscape and potrait.. the positioning of widgets on screen will differ..
so if you are changing the orientation ,then you can have different layouts for each orientation and set the same for respective orientations. On May 15, 4:42 pm, Karteek N <[email protected]> wrote: > Hi, > I have a an application which is having some UI items like Buttons Radio > Buttons etc. > I want to change through code from landscape to portrait mode. > I did by calling the method > setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); > But my UI items totally disturbed some of the i am unable to see. > What care i need to take for this > Any one can give me any documents or any help > > Thanks in advance > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

