Hi all,

I am facing an issue ...
I explain the behaviour I like to have :

I have several edittext views. Since they are in a "overriden" class
of Edit text, they have a specific look and feel.

I would like to have for them the customized L&F when my application
starts and when people look at my screen.
As soon as the user clicks on the edittext, I'd like it to become
editable.
When the user click in another place of the screen to remove the
editable state of my view

For the current time being I am doing something not clean :
I intercept the click (dedicated onclick listener) and change the L&F
(ie : Carret displayed)
When my user click on "enter" they I validate the input and restore
the old L&F

This is not exactly what I aim to have. I tries to work with focus but
I can't have 'no focus' when my app starts... At least one edit text
have the focus... and it is not beautiful.

Do you know if a method setEditable(false) exists ? I don't understand
how to use editable factory, maybe my answer is there ?
Does anyone find a way to do this behaviour ?

Thanks for reading
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to