I’m using setMovementMethod(LinkMovementMethod.getInstance()) on a TextView instance but the text is flickering when touched. Is there any solution to this?
I’m using setMovementMethod(LinkMovementMethod.getInstance()) on a TextView instance but the text is flickering when touched.
Share
Use
@android:color/primary_text_dark_nodisableorandroid:color/secondary_text_dark_nodisableas the text color of your text view. You can do this either in XML:or programmatically: