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
Post a Comment