最新回答 / 慕先生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"橫屏直接強(qiáng)制退出??
2017-05-20
最新回答 / 漠流云
可自定義video,重寫寬高;最關(guān)鍵的是要在橫豎屏判斷語句中添加: ?//移除半屏狀態(tài) ? ? ? ? ?getWindow().clearFlags((WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN));//添加一個(gè)全屏狀態(tài)getWindow().addFlags((WindowManager.LayoutParams.FLAG_FULLSCREEN));
2017-05-19