Currently am developing an application for receiving messages and displaying them in the order which they came. But now am stuck at how to display these messages according to incoming and outgoing messages. I have a android phone with me.. In that messages are alligned to left and right. I want to display messages just like that..?? I know that using listview i can do that but how…? any advise..??
Currently am developing an application for receiving messages and displaying them in the order
Share
Try using relative layout and
Consider two textViews in a layout and use them to inflate it to the list.
For these two textViews consider using
to one and
to another.