Why is this possible ?
code :
private OnClickListener _Listener = new OnClickListener()
{
public void onClick(View v)
{
if(v== myView){
if(myView.getVisibility()==View.GONE)
Log.d("onClick","Why is this
possible ?");
}
}
}
...
View myView = new View(this);
...
myView.setOnclickListener(_Listener);
I use View.VISIBLE / GONE to exchange display of two views... and when
I want to click on the visible one, the gone one is catching it...
is that normal ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---