This commit is contained in:
Miguel de Icaza 2012-02-22 06:41:17 -05:00
Родитель 23c3506775
Коммит b2f4a05c86
1 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -19,8 +19,7 @@ namespace BubbleCell
{
DialogViewController chat;
UIWindow window;
Section chatSection;
static void Main (string[] args)
{
UIApplication.Main (args, null, "AppDelegate");
@ -30,17 +29,14 @@ namespace BubbleCell
{
window = new UIWindow (UIScreen.MainScreen.Bounds);
var root = new RootElement ("Chat Sample") {
(chatSection = new Section () {
new ChatBubble (false, " "),
new ChatBubble (false, " "),
new ChatBubble (false, " \n \n \n "),
new ChatBubble (false, " \n "),
new Section () {
new ChatBubble (true, "This is the text on the left, what I find fascinating about this is how many lines can fit!"),
new ChatBubble (false, "This is some text on the right"),
new ChatBubble (true, "Wow, you are very intense!"),
new ChatBubble (false, "oops"),
new ChatBubble (true, "yes"),
})
}
};
chat = new DialogViewController (UITableViewStyle.Plain, root);
chat.TableView.SeparatorStyle = UITableViewCellSeparatorStyle.None;