Hallo i ont un problème à l'intérieur gridviiew recyclerview, il y a quelques espaces au-dessus de la grille 2. élément comme ce pic. que les espaces changent dinamicaly si je recharge le contenu à l'intérieur de recyclerview.espaces supplémentaires à l'intérieur gridview recyclerview
recyclerview normale
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView2"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
article Vignettes
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:clickable="true"
android:clipChildren="true"
card_view:cardPreventCornerOverlap="false"
card_view:cardUseCompatPadding="false"
android:foreground="?attr/selectableItemBackground"
android:orientation="vertical">
où est xml ???? –
xml ajouté @IntelliJAmiya Amiya – Muklas