Ejemplo n.º 1
0
            public new void applyStyle(MessagesListStyle style)
            {
                base.applyStyle(style);
                if (bubble != null)
                {
                    bubble.SetPadding(style.getIncomingDefaultBubblePaddingLeft(), style.getIncomingDefaultBubblePaddingTop(), style.getIncomingDefaultBubblePaddingRight(), style.getIncomingDefaultBubblePaddingBottom());
                    bubble.Background = style.getIncomingBubbleDrawable();
                }

                if (text != null)
                {
                    text.SetTextColor(new Color(style.getIncomingTextColor()));
                    text.SetTextSize(Android.Util.ComplexUnitType.Px, style.getIncomingTextSize());
                    text.SetTypeface(text.Typeface, TypefaceStyle.Normal);
                    text.AutoLinkMask = Android.Text.Util.MatchOptions.All;
                    text.SetLinkTextColor(new Color(style.getIncomingTextLinkColor()));
                    //configureLinksBehavior(text);
                }
            }