I am working at an Android app in Titanium. I must set some view as invisible. I tried this :
myView.setOpacity(0)
but instead to have an invisible view I get the strongest color of view. Any idea how to solve this?
EDIT: I need to detect when the invisible view is touched (addEventListener to work).
I found this solution : if I don’t set any color to my view, than the view is created and is invisible (like I want it to be). And addEventListner is working.
This works for me.