Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Android Studio Blank Buttons

so I am making a recipe app on android studio and I was using a different phone but then I switched phones to run the app and now my buttons are blank.Example:
Old Button

New Button

Any idea what could be causing this? this is for all my buttons.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

The source of this problem is that the button text colour varies according to the device theme. If you make the button text colour a specific colour (red, blue etc.) you can see that it works properly on both devices.

This answer was posted because the questioner confirmed in the comments that this was the source of the question.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading