Code written for Chat Activity.
Tried to layout ChatActivity