Is it possible to make part of the Dialog message a link? And assign a click listener to that part?
Let's say I have a dialog like this:
String message = "Hello, click here for more info";
String messageClickable = "click here";
new AlertDialog.Builder(this)
.setMessage(message)
.setPositiveButton("Ok", null)
.show();
How can I make the messageClickable
part clickable? I researched the class Linkify
but I could only find method addLinks
that works with actual links or phone numbers etc.