Wednesday, 29 July 2015

Android layout, backgroundTint VS background

What is backgournTint?

You can set color for it:

It is look like this:

VS background:

Background color will make the button looks bigger.

However, background color really takes the real size of your button. tint still give button some margin.

Button's default background is "tint".

tint currently has some issues which will back 5.2??? i am not sure.

No comments:

Post a comment