安卓横竖屏判断
if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {//横屏}if (this.getResources().getConfiguration().orientation == Configuration.ORIENTA...
·
if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {//横屏
}
if (this.getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) {
}
更多推荐
已为社区贡献5条内容
所有评论(0)