[Android] How to disable the screen orientation?
摘要:
Below utility are got from the web: private static int _oldScreenOrientation; public static void disableScreenOrientation() { _oldScreenOrientation = activity.getRequestedOrientation(); if(isLandscape()) activity.setRequestedOrientation( ActivityInfo.SCREEN_ORI... 阅读全文
posted @ 2012-12-05 15:32 Jalen Wang 阅读(222) 评论(0) 推荐(0) 编辑