Open Traz9g opened 8 years ago
Why do you need to support landscape mode? In landscape mode, the toolbar will occupy the screen space, so that the preview space becomes very narrow.
However. If you really need to support landscape mode, you should remove the android:screenOrientation="portrait"
in the AndroidManifest.xml. And then when the screen rotates, you need to roate the texture coordinates.
This is need to record video (usually users doing it in landscape mode). Thanks!
Hello nekocode. Great work there. How i should change the texture coordinates?
Can you help me with landscape mode? I am trying to modify your source code, but nothing comes