私はこのコードを持っています:
TextView tv1 = FindViewById<TextView>(Resource.Id.textView1);
tv1.Text = "Text";
SpannableString wordtoSpan = new SpannableString(tv1.Text);
wordtoSpan.SetSpan(new UnderlineSpan(), 0, tv1.Text.Length, 0);
tv1.SetText(wordtoSpan, TextView.BufferType.Normal);
BufferType.Normal
またはを使用してもBufferType.Spannable
、テキストの下に線が引かれ、テキストの下に線が表示されます。BufferType.Normal
では、との効果は何BufferType.Spannable
ですか?