googlevr / gvr-android-sdk

Google VR SDK for Android
http://developers.google.com/vr/android/
Other
3.28k stars 1.28k forks source link

VrPanoramaView black screen when first load #547

Closed fanrenyi closed 6 years ago

fanrenyi commented 6 years ago

Some mobile phones appear black screen because VrWidgetView add GLSurfaceView. In order to solve this problem, you can add a GLSurfaceView whose width and height is 0 in the activity's xml.

jdduke commented 6 years ago

Does the SDK sample (SimpleVideoWidget) work properly for you?

fanrenyi commented 6 years ago

on my mobile,MeiZu, Rom is FlyMe,SDK sample (SimplePanoWidget) work bad, it black screen when first load, the the SDK sample (SimpleVideoWidget) work OK

jdduke commented 6 years ago

Would you mind attaching a bug report that captures the issue on this device? Or sending a bug report to me directly? Thanks.

jdduke commented 6 years ago

Hi @fanrenyi, without access to this specific device, and without a bug report, there's no much more we can do.