javiersantos / MaterialStyledDialogs

A library that shows a beautiful and customizable Material-based dialog with header. API 14+ required.
Apache License 2.0
1.17k stars 155 forks source link

Make Links in description clickable #62

Open jangrewe opened 6 years ago

jangrewe commented 6 years ago
Details
Reproduction Steps

Thanks for your library! I've been using the stock Android one until now and wanted to start using your project to get a nicer design for my dialogs, but unfortunately i can't get links in the dialog's body to be clickable.

With the stock dialog i used this to make them behave like you'd expect from a link:

((TextView) myDialog.findViewById(android.R.id.message))
                .setMovementMethod(LinkMovementMethod.getInstance());

Any hints how to accomplish this / which ID to use? Maybe you could also add native support, like the original project: https://github.com/afollestad/material-dialogs/blob/master/core/src/main/java/com/afollestad/materialdialogs/DialogInit.java