Skip to content

Instantly share code, notes, and snippets.

@NezSpencer
Created August 11, 2019 12:45
Show Gist options
  • Save NezSpencer/b63c1eab1ca62ffde57084228cd588e2 to your computer and use it in GitHub Desktop.
Save NezSpencer/b63c1eab1ca62ffde57084228cd588e2 to your computer and use it in GitHub Desktop.
using findViewById
val termsAndConditionsTextView = findViewById<TextView>(R.id.tv_terms_conditions)
termsAndConditionsTextView.text = termsCopy
termsAndConditionsTextView.movementMethod = LinkMovementMethod.getInstance()
termsAndConditionsTextView.highlightColor = Color.TRANSPARENT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment