Bonjour à tous,

J'ai une listview qui ressemble à ceci:


Ce que je souhaiterai c'est rajouter deux boutons en haut de mon listview, sans utiliser les header, comme ceci:



Voici le code xml de mon list_fragment:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    <ListView
        android:id="@android:id/list"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >
    </ListView>
</LinearLayout>
lorsque je tente deux mettre mes deux bouton en haut de mon listview, en modifiant mon xml, mon listview se déforme.