Open bvhloc opened 4 years ago
Hi I have a surfaceView which has been set Match_Parent for both width and height but when I rotate the layout with the below function:
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
the frame inside the surfaceView can not be full, please help me to solve this issue, thank you
Did you resolve this ?
Hi I have a surfaceView which has been set Match_Parent for both width and height but when I rotate the layout with the below function:
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
the frame inside the surfaceView can not be full, please help me to solve this issue, thank you