Space between items when scrooling
Hello,
Im using the v2 version of the library (i cant update to v3 because there are incompatible and i have a lot of work with v2), i have a problem with MaterialListView and cards.
On the list there are a big space betwen items, this is an example:

And there is my xml code, im ussing SmallImageCard
`<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:bootstrap="http://schemas.android.com/apk/res-auto" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin">
<ProgressBar
android:id="@+id/barraProgresoEmpleados"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@android:style/Widget.Holo.ProgressBar.Large"
android:layout_marginRight="5dp"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
<!--<TextView-->
<!--android:id="@+id/sinEmpleadosTV"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:layout_alignParentTop="true"-->
<!--android:layout_centerHorizontal="true"-->
<!--android:textColor="@color/red"-->
<!--android:text="Sin empleados disponibles"-->
<!--android:visibility="gone"/>-->
<com.beardedhen.androidbootstrap.BootstrapLabel
android:id="@+id/sinEmpleadosTV"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/barraProgresoClientes"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_gravity="center"
android:visibility="gone"
bootstrap:bootstrapBrand="danger"
bootstrap:roundedCorners="true"
bootstrap:bootstrapText="{fa_exclamation_circle} Sin empleados disponibles"
/>
<com.dexafree.materialList.view.MaterialListView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/material_listview"
android:visibility="gone"
android:scrollbars="vertical"
android:dividerHeight="1dp"/>
`
Thanks you, regards!
I'm having the same problem. Did you get any solution?
I managed to solve my case for upgrading the gradle for new version:
compile 'com.github.dexafree:materiallist:3.2.1'
in styles.xml change: from:
to: