最新回答 / 慕先生8377693
<LinearLayout android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:cont...
2017-06-01
为什么横屏不变啊,之后添加了android:screenOrientation="sensor"横屏直接强制退出??
2017-05-20
最新回答 / 漠流云
可自定义video,重写宽高;最关键的是要在横竖屏判断语句中添加: //移除半屏状态 getWindow().clearFlags((WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN));//添加一个全屏状态getWindow().addFlags((WindowManager.LayoutParams.FLAG_FULLSCREEN));
2017-05-19