0

I am working on a chat aaplication.In which i have to chat window through which i am sending message.

!![For this image i am using sending message.You can see in this window i have a showall button if a person talking with no one that on show all button i have to show nothing but if a person is talking with 1,2 or more then i have to show winodw like image2 given below.][1]!

![In case of image 1 when user click on image 1 showall button if there is going chatting then i have to show image like that if more than one person is chatting then image2 will show list of chat winodow as in image1 if click any of them then chat related to that winodow will be open. ][2]

nikki
  • 3,248
  • 3
  • 24
  • 29
  • Don't expect someone else to write it for you.Just make a little research on Google how to use TabHost, RelativeLayout and the other elements which you need. You can find a lot of information for what you need : ) – Android-Droid Mar 02 '12 at 09:29
  • okay i want only just litle help not coding part i want......... – nikki Mar 02 '12 at 09:31

1 Answers1

0

As I said you need to check how to use TabHost in Android : here you can see how you can set TabHost in bottom of your page as in your attached screenshot.

Here is another tutorial how to use TabHost with icons and etc.

Check RelativeLayout which you will need to set done button at the bottom of your page : RelativeLayout. About the chat views which are in your screenshot you can use ViewFlow to implement this kind of preview : Android ViewFlow.

Hope this information helps you. If you have any other questions, just ask : )

Community
  • 1
  • 1
Android-Droid
  • 14,365
  • 41
  • 114
  • 185
  • i am already used the tabhost for my app my app is working fine.the issue for my chat window.......... – nikki Mar 02 '12 at 09:53
  • on my chat window chat part also working fine but i have to show on show all button click like the second image list of chatwindow in horizontal scrollview if any of these i click i have to show chat winodw of that with messages......... – nikki Mar 02 '12 at 09:54
  • As I said you can use ViewFlow for the preview and you can implement your own logic where after user click the chat you can open it in new activity or just load it the current one. – Android-Droid Mar 02 '12 at 10:08