Q:

How to design a custom chat control in android?

I have to design a custom chat control, i planned to use 3 basic view  (listview , edittext and button) to make a custom chat control. 
Do i have to extend view class and override ondraw method to create chat control..
i.e 
class Mychatcontrol extends view 
{
  override
      ondraw()
    {
        //create listview
        //create edittext
       //create button
    }
}

is it possible ? or are they any better way ?
please share any good ideas for creating chat control, with pseudocode.

A:

Check this
This may help you.

