ListView rows are supposed to have a default height if the template doesn't have one. On Android, the default height used to be 45dp (assigned here). As of Titanium 8.0.0, the default height is no longer being applied and the rows are auto-sizing to fit the height of the row's contents instead.
Steps to reproduce:
- Build and run the below code on Android.
- Notice that the rows just-fit the height of the row text. (This is the problem.)
We can't solve this issue by setting a min height to the row's root layout. While that would work, Titanium app developers have spoken out in the past that they don't want this behavior as can be seen in
TIMOB-19812. We removed the min height as of Titanium 6.0.0 and we need to keep this behavior. But it's okay to apply a default height if one was not specified.