예제 #1
0
            public new void applyStyle(MessagesListStyle style)
            {
                base.applyStyle(style);
                if (bubble != null)
                {
                    bubble.SetPadding(style.getOutcomingDefaultBubblePaddingLeft(), style.getOutcomingDefaultBubblePaddingTop(), style.getOutcomingDefaultBubblePaddingRight(), style.getOutcomingDefaultBubblePaddingBottom());
                    bubble.Background = style.getOutcomingBubbleDrawable();
                }

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