Gray button on an old version of Android

Asked

Viewed 29 times

1

I’m making an app, where the buttons are green,and turn green when I test on Android 6.0, but when I test Android Kikat the button turns gray.

  • Dude, post your XML and any code that can help us solve the problem. Thank you

  • Put your Hemas and button layout

1 answer

-1

You better post the XML with the buttons.

But if you are setting the images of it through a src:

android:src="@drawable/imagem"

Then seven the background to null:

android:background="@null"

Will solve the problem.

Hugs.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.