Hi
I have a editText and I would like to check if it is in focus. I do it like this:
if(textfield.active)
{
//Do something
}
This doesn't work. It always returns false. Is there any other way to check if a textfield is currently in focus? With focus I mean, the textfield is marked with the cursor and user can input text into it.
While playing around with it I also noticed that this works:
textfield.active = true;
While this do not:
textfield.active = false;
... wierd.
- Jakob