Set toolbar text color in kotlin
I've been trying to change the text colour in the toolbar but I'm not getting anywhere, I have tried many answers from stack overflow but either it does not work or the app crashes on this line setSupportActionBar(toolbar).
here is the Kotlin activity:
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_chat)
supportActionBar?.setDisplayHomeAsUpEnabled(true)
supportActionBar?.title =...