This project shows one way of implementing a bubble-chat rendering similar to the iPhone Messages application using MonoTouch.Dialog and a custom ChatBubble element.
This also shows how to setup a Login screen that transitions to the chat. On startup, it will request a login and password (both are “Root”).
The ChatViewController renders the discussion as well as a styled entry to get messages from the user and resizes the entry as needed (up to a point).
The ChatBubble hardcodes two images for left and right bubbles which are stretched using iOSUIImage support for stretching images. The ChatBubble does not really support configuring fonts or bubble colors, you will need to modify the source accordingly. Luckily the entire bubble code support is less than 100 lines of code.
Author : https://github.com/olegoid.
If you like this tutorial then you can download full copy of the code from github.