Home > OS >  Kotlin, text does not appear on buttons
Kotlin, text does not appear on buttons

Time:05-19

i got two buttons in android app layout(kotlin language). The problem is that text does not appear on the button, like on the screenshot. Screenshot(click) What can i do to fix this? I can't find anything about this problem on the internet.

CodePudding user response:

I see the Button is on red. Please edit your question with the complete XML file as screenshot or text. If text is not appearing also when the button is not red marked, check which theme are you using. Test it toggling themes on Theme on Preview in the Preview window in the XML file.

  • Related