Problem about soft keyboard

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Problem about soft keyboard

Postby smellyday » Thu Jun 25, 2009 8:07 am

How to make the delete keyboard key(of the soft keyboard) clear out the textbox on long press(only on long press)?

I can do this by the hard keyboard.You can download the code below.


thank you first.
Attachments
EditText.java
this is a simple example
(1.09 KiB) Downloaded 47 times
smellyday
Freshman
Freshman
 
Posts: 3
Joined: Wed Jun 24, 2009 9:29 am

Top

Postby nbadal » Sun Jun 28, 2009 4:07 am

I'm not quite sure, but you might have to check for the soft keyboard flag. (Just guessing by looking at the KeyEvent dev page.)
nbadal
Developer
Developer
 
Posts: 30
Joined: Tue May 26, 2009 3:55 pm

Postby smellyday » Mon Jun 29, 2009 2:54 am

I'll try.Thank you all the time.
smellyday
Freshman
Freshman
 
Posts: 3
Joined: Wed Jun 24, 2009 9:29 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 6 guests