if(this.getRequestedOrientation() != ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE)
{
this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
}
else
{
this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_BEHIND);
}
沒有留言:
張貼留言