I want to put a link in the text by the radio-button. Is there any way of doing this? The radio button inherits from TextView so there should be.
I have managed to use Html.fromHtml() to get the text into the radio button, but the link is neither underlined nor clickable.
final RadioButton sButton =
(RadioButton)findViewById(
R.id.radiobutton );
sButton.setText(
Html.fromHtml(
"1 månad (99:-) <a href='banan.html'>info</a>" ),
BufferType.SPANNABLE );
sButton.setLinksClickable( true );
sButton.setMovementMethod( LinkMovementMethod.getInstance() );
Info should appear as a link and be clickable.