Ejemplo n.º 1
0
        public void AddAttachmentText(Java.Lang.ICharSequence text)
        {
            var label = MessageCellSubviews.GetBodyLabel(this);

            label.SetText(text, TextView.BufferType.Spannable);
            AddView(label);
        }
Ejemplo n.º 2
0
        public int AddHeroImage()
        {
            var imageCount = HeroImageViews.Count;

            var image = MessageCellSubviews.GetHeroImageView(this);

            //image.AddConstraint (NSLayoutConstraint.Create (image, NSLayoutAttribute.Height, NSLayoutRelation.Equal, 0, HeroImageSize.Height));
            //image.AddConstraint (NSLayoutConstraint.Create (image, NSLayoutAttribute.Width, NSLayoutRelation.Equal, 0, HeroImageSize.Width));

            AddView(image);

            HeroImageViews.Add(image);

            return(imageCount);
        }