Setting View's Width & Height to -1

DerekTweed

Member
Licensed User
Longtime User
In the code for an example widget that I have downloaded, an Imageview has Width & Height set to -1. What effect does this have?
I have searched for a reference to this, but cannot find one.

Thanks
 

agraham

Expert
Licensed User
Longtime User
ViewGroup.LayoutParams | Android Developers
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…