android - Is it possible to force GLSurfaceView portrait while other view change orientation with the device orientation? -


we development video related android app. , need support both portrait , landscape mode. because ui veriy complex, want ui element rotate. , because draw local preview on surface view using opengl, , become complex if glsurfaceview rotate.

so want lock glsurfaceview orientation while keep overall ui change change orientation when rotate device. have used similar solution on ios.

we find solution force activity portrait instead of view in activity. possible that? , how can that?


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -