Android: why is there no maxHeight for a View?
View’s have a minHeight but somehow are lacking a maxHeight: What I’m trying to achieve is having some items (views) filling up a ScrollView. When there are 1..3 items I want to display them directly. Meaning the ScrollView has the height of either 1, 2 or 3 items. When there are 4 or more items … Read more