我使用ReplacementSpan爲TextView添加了Text Stroke。它在Marshmallow下的Android Sdk中完美運行。但是,在棉花糖它顯示空白文本。當我將ForegroundSpan添加到頂部TextView,然後將我的自定義跨度設置爲低於視圖的工作。我不明白有什麼我失蹤。 下面是我TextSpannable類代碼 - public class TextSpannab
這已經快把我逼瘋了: String message = "Here is some example test with URLs from mattheworiordan.com.
Any of the URLs which are prefixed with www. should become URLs such as www.mattheworiordan.com/path_nam