googlecodelabs / sceneform-intro

Other
25 stars 18 forks source link

Pointer not showing if we remove AppBarLayout or the LinearLayout(gallery_layout) #2

Open ravir13 opened 6 years ago

ravir13 commented 6 years ago

As soon as I remove AppBarLayout or the LinearLayout the green pointer stops showing. Also, I am following the Codelabs sample the pointer is not showing. I have performed the first 8 steps.

arnsniper commented 6 years ago

Use -> View contentView = fragment.getView(); This will work when you remove the AppBarLayout or anything else or use completely different layout too. However, as soon as I change orientation (tilt the phone) the pointer disappear. Let me know if you find a solution to that.

fabio-negri commented 6 years ago

I'm facing same issue by following the Codelabs steps. I also tried @arnsniper's solution with no luck

EbadSyed commented 5 years ago

Cant draw anything either after following the Codelab