[android-developers] EditText animation onTouch - Custom animation class or ViewSwitcher
I have a imageView, editText and textView within a LinearLayout. I
would like to animate the EditText onTouch, to make it twice as taller
and display a softkeyboard so that users can type into it. I cannot
figure out if I should write some custom logic in applyTransformation
of animation class which extends android.view.animation.Animation
class OR go with a viewSwitcher which switches to a different view
with bigger EditText. I would like to have a smoother transition if
possible. If there is another way of getting the same result, I would
greatly appreciate some pointers on that as well.
Also, any thoughts if onTouch is the right event i should be listening
to?
Thanks in advance!
Santoash
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home