Skip to content

Instantly share code, notes, and snippets.

@jezinka
Last active April 19, 2017 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jezinka/8ca08bb4bc9e22fa4658f2accec54275 to your computer and use it in GitHub Desktop.
Save jezinka/8ca08bb4bc9e22fa4658f2accec54275 to your computer and use it in GitHub Desktop.
private void showInfoDialog() {
final AlertDialog d = new AlertDialog.Builder(this)
.setPositiveButton(android.R.string.ok, null)
.setMessage(getDSPMessage())
.create();
d.show();
((TextView) d.findViewById(android.R.id.message)).setMovementMethod(LinkMovementMethod.getInstance());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment