How can I get clickable hyperlinks in AlertDialog from a string resource?
问题 What I am trying to accomplish is to have clickable hyperlinks in the message text displayed by an AlertDialog . While the AlertDialog implementation happily underlines and colors any hyperlinks (defined using <a href=\"...\"> in the string resource passed to Builder.setMessage ) supplied the links do not become clickable. The code I am currently using looks like this: new AlertDialog.Builder(MainActivity.this).setTitle( R.string.Title_About).setMessage( getResources().getText(R.string.about)