Ok, all is working now.
The problem came from wanting to only enable the ok button once a minimum
number of characters had been entered.
I was doing this through setOnKeyListener - this blocked the soft keyboard
appearing automatically (if the user touched the edittext, the soft
keyboard showed
Have you tried et.requestFocus() ?
2012/7/16 Simon Giddings mr.s.giddi...@gmail.com
I have a simple dialog built with the compatibility libraries
DialogFragment.
It holds only
1. EditText
2. 2 buttons
When the dialog is shown, the edit text control has the focus.
At this point, I
Yes, I use this as well, but forgot to include it in the code I posted here.
On Monday, 16 July 2012 18:06:41 UTC+2, Kostya Vasilyev wrote:
Have you tried et.requestFocus() ?
2012/7/16 Simon Giddings
I have a simple dialog built with the compatibility libraries
DialogFragment.
It holds
Everything around the Android keyboard feels hacky.
Try one of the following:
1) Set requestFocus/ in your XML in the edittext.
2) do a post such as et.post(new Runnable() { et.requestFocus() }} etc.
3) do a post again but your use own code in your original post.
Good luck.
On Monday, July
Do any of these attributes help? In particular I am thinking of the
stateVisible or stateAlwaysVisible options:
http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 16,
5 matches
Mail list logo