Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lanscape mode #16

Open
Traz9g opened this issue Oct 6, 2016 · 3 comments
Open

Lanscape mode #16

Traz9g opened this issue Oct 6, 2016 · 3 comments

Comments

@Traz9g
Copy link

Traz9g commented Oct 6, 2016

Can you help me with landscape mode? I am trying to modify your source code, but nothing comes

@nekocode
Copy link
Owner

nekocode commented Oct 7, 2016

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.

@Traz9g
Copy link
Author

Traz9g commented Oct 7, 2016

This is need to record video (usually users doing it in landscape mode). Thanks!

@art-ylem
Copy link

art-ylem commented Oct 8, 2019

Hello nekocode. Great work there. How i should change the texture coordinates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants