Indeed, Sujay, thank you!
This will disable (suppress) the soft keyboard:
editText_input_field.setOnTouchListener(otl);
private OnTouchListener otl = new OnTouchListener()
{
public boolean onTouch (View v, MotionEvent event)
{
return true; // the listener has consumed the event
}
};
On May 28, 10:23 pm, Sujay Krishna Suresh <[email protected]>
wrote:
> Hi alex i think u could solve ur problem by using the onTouchListener
> rather....
> since it returns a boolean stating whether u handled the event or not....
> if u want to show the keyboard return false... else return true...
> i'm not very sure that this is wat u want... but u can give it a try....
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---