I can't use your code because your technique is only suitable for a
RelativeLayout. In a LinearLayout there is no way to stack views and playing
with their visibility. Of course, I could take your approach and find a way
to have a floating EditText which is exactly over the TextView (ie an
overlay) but I won't be able to forward the click event to the newly showed
EditText and so the whole thing wouldn't work as designed. Sorry :(

Does anybody here know deeply how focus/inupt work with TextViews?

2011/10/7 Studio LFP <[email protected]>

> You could still use my code but instead of using it straight, you could
> just wrap it in a custom view.  So instead of just a TextView or EditView,
> use the above code wrapped in a custom View and have the TextView/EditView
> inside it.  Use the swap code there and it would actually a bit more simple
> because you could hold the data on the custom view and it would still fit
> inside your layout like the existing views.
>
> 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 [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
>

-- 
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