Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the info tag from VRPanorama View in android

I have been trying to work on Google VR SDK for android. I have been successful in implementing the sample. But the info tag on the bottom of the panoramic view widget looks bad for design in release version for my app. So can anybody let me know if it's possible to remove the info tag on the bottom of the view? If yes then please help me out on this.

This is the sample I am running

like image 512
theAndDev Avatar asked Jun 20 '16 12:06

theAndDev


1 Answers

You can remove info button from VrPanoramaView. VrPanoramaView extends VrWidgetView.

VrWidgetView has method setInfoButtonEnabled(boolean value) in which you can either show or remove info button. call method like this:

panoWidgetView.setInfoButtonEnabled(false);

where panoWidgetView is instance of VrPanoramaView.

like image 146
Rajesh Avatar answered Oct 19 '22 11:10

Rajesh