smart-fun / smartGL

SmartGL is a Graphic Engine for creating Android Games and Apps. It is based on OpenGL and handles 2D Sprites and 3D Textured Objects.
Apache License 2.0
109 stars 24 forks source link

make the view clickthrough #11

Closed appstute-purushottam closed 7 years ago

appstute-purushottam commented 7 years ago

How can I make this view clickthrough, I am using this for Overlay app

smart-fun commented 7 years ago

Hello and thanks for using smartGL!

I did an update of the library because it was not possible to do.

Now you can enable or disable touch like for any other view: use the android:clickable attribute of the SmartGL view (in the XML) or call setClickable() on the SmartGLView.

Don't forget to also set correctly the value for the other views so that only the clickable views have the clickable attribute set!

Please update to the new version 1.1.4 of the library and try it!

Tell me if you have any troube with it.

Arnaud.

appstute-purushottam commented 7 years ago

Thanks. It is working now

smart-fun commented 7 years ago

Cool, I'm closing the issue then.