Reputation: 55
I am developing panorama application and I cannot find some ways to implement my Android layouts or Android widgets(TextView, ImageView etc.) to my scene on ViroView.
Is it possible to do in this 3rd party library(ViroCore)?
Thanks, a lot!
Upvotes: 1
Views: 112
Reputation: 274
first you need to inflate the view , then create an AndoridViewTexture
,and finally use the function attachview
and give it the inflated view as a parm.
AndroidViewTexture androidTexture = new AndroidViewTexture(viroView.provideView(), pxWidth, pxHeight, isAccelerated);
androidTexture.attachView(inflated);
Upvotes: 1