tags:

views:

63

answers:

1

I do not know the difference between these two attributes and for the height also.

Take a TextView for example, what would happen if I set its layout_width to wrap_content and set its width to 50 dip?

A: 

There is essentially no difference, only a TextView has the width property also.

TextView.setWidth

BrennaSoft