-
Notifications
You must be signed in to change notification settings - Fork 362
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
Android 6 - on the first run does not display anything in the TextView #12
Comments
It doesn't crash now? |
Are you saying the 'textureview'? |
I Found way hot to fix it: if set default visibility state to GONE for textureview (in .xml file) and change it when we call setupCameraPreviewView() (in MainActivity) to textureView.setVisibility(View.VISIBLE) - it solve this problem in main.xml
change to
in MainActivity.java
change to:
|
Good solution! Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
But if restart the app - all works fine. I think the problem still in runtime permissions
The text was updated successfully, but these errors were encountered: