Tuesday 15 March 2011

How can i rotate the particular view landscape or portrait programatically in android? -



How can i rotate the particular view landscape or portrait programatically in android? -

how can rotate particular view in landscape or portrait mode in dynamically in android. using method

setrequestedorientation (activityinfo.screen_orientation_landscape);

but total layout going landscapmode .but want particular view in landscape mode. so,please tell me known .advance all

following code used display activity landscape mode

<activity android:screenorientation="landscape" android:configchanges="orientation|keyboardhidden" android:name="youractivty"/>

change according need

android android-layout screen-orientation

No comments:

Post a Comment