Skip to content

Instantly share code, notes, and snippets.

@jezinka
Last active Apr 19, 2017
Embed
What would you like to do?
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