MaterialStyledDialogs icon indicating copy to clipboard operation
MaterialStyledDialogs copied to clipboard

Make Links in description clickable

Open jangrewe opened this issue 7 years ago • 0 comments

  • [x] I have verified there are no duplicate active or recent bugs, questions, or requests.
  • [x] I have verified that I am using the latest version of MaterialStyledDialogs.
  • [x] I have given my issue a non-generic title.
  • [x] I have read over the README and Wiki (before asking questions on how to do something).
Details
  • MaterialStyledDialogs version: 2.1
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

jangrewe avatar Jan 10 '18 23:01 jangrewe