why to use animation unnecessarily
you can just write in on onClickListener
edittext_object.setMinLines(5);
here 5 represents number of lines, it depends on you.

On Oct 5, 8:53 am, santoash <santo...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to