I have a ListView which gets populated with RelativeLayouts. The content of these RelativeLayouts can change and thus change their height respectively. On each RelativeLayou
I had a similar issue inside the cells of my RecyclerView which had a RelativeLayout as root element.
RecyclerView
A workaround for me was wrapping an extra LinearLayout around the root RelativeLayout element.
So you card looks like this:
...
Source: https://stackoverflow.com/a/28799251/3708094