Friday, October 7, 2011

Re: [android-developers] Re: EditText with custom behavior

Ok, I played with it and got it to work.

On the Xperia Play (which has a hardware game pad not a hardware keyboard), the problem is it starts with all the text selected so you can't touch anywhere to move the cursor. You need to move the selection handles to unselect part of the text and then touch in the unselected part of the text to get the cursor to move there. It's a major pain and wouldn't be very fun for your users.

Steven
Studio LFP
http://www.studio-lfp.com


On Friday, October 7, 2011 5:14:50 PM UTC-5, Raffaele Sgarro wrote:
I really cannot understand what's going on :S The XPeria is the only phone with the hard keyword, isn't it? But if I try in the emulator (which also emulates a hardware keyboard) everything goes fine. I mean, when you long click a View all text is selected (intended, so one can easily erase everything) and I can move the cursor wherever I want, either by clicking and moving the Dpad. Can you give more information?

2011/10/8 Studio LFP <studi...@gmail.com>
That worked for all but the Xperia Play.  It still selects everything and doesn't let me place a cursor where I want it.

You will need to clear that at some point because it prevents clicking on the same view again. This could be bad if the phone goes to sleep or another activity comes up and then they go back to yours.


Steven
Studio LFP
http://www.studio-lfp.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@googlegroups.com
To unsubscribe from this group, send email to
android-develop...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment