最近遇到android 在xml中强制横屏失效的问题,最后解决办法。。
在activity中重写屏幕旋转的方法,里面什么都不写就醒了。。。哇咔咔
public void setRequestedOrientation(int requestedOrientation){ return; }