Thursday, August 23, 2012

Re: [android-developers] Android button position changes while the screen rotating

Not sure if this is the same, but I put this in my AndroidManifest.xml:

<activity android:screenOrientation="portrait"

On Thursday, August 23, 2012 7:51:54 AM UTC-5, baturanija1 wrote:
i suggest that to use one orientation of screen: try this code-it shows your app only in Portal orientation-but it is optional for your taste :)

super.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);


--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate