Implement a Chat UI Screen
Please Login to Remove!
I want to implement a Chat UI screen like Google talk, BB messenger or Jivetalk. However, I got stuck by many problems.
I have two areas in the main screen.
--------------------
| RichTextField |
---------------------
| AutoTextEditField |
--------------------
Firstly, Everytime after user clicks enter key, I append the user input from AutoTextEditField to RichTextField, However, the RichTextField never scroll to the bottom. I have to move the focus from AutoTextEditField to RichTextField and scroll the trackball to scroll down to see the new append content.
2ndly, Even though I uses the VERTICALSCROLL|VERTICALSCROLLBAR for RichTextField, I couldn't see the SCROLLBAR on the screen.
I want to implement a screen similar to google talk or yahoo messenger. It seems my current solution is on the wrong track. Anyone who has experience on this could provide me some suggestion? or Sample code?
I really appreciate it.
|