Salut tout le monde,

Pour personnaliser une listView j'ai changé la couleur de l'arriere plan de mon item,malheursement maintenant la couleur ne change pas lorsque je clique dessus.
Comment puis je remettre cette couleur?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FF0066FF">
 
<ListView
android:id="@android:id/list"
android:cacheColorHint="#00000000"
android:persistentDrawingCache="animation|scrolling"
android:layout_width="fill_parent"
android:layout_height="fill_parent"  />
</FrameLayout>
et celui de l'item

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="#FFFFFFFF"
    >
 
 
	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	    android:orientation="vertical"
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	   	android:layout_gravity="center_vertical"
	   	android:paddingLeft="10px"
	    android:layout_weight="1"	    
	    >
 
	    <TextView android:id="@+id/Promo"
	         android:layout_width="wrap_content"
	         android:layout_height="fill_parent"
	         android:textSize="30px"
	         android:textStyle="bold"
	        android:textColor="#0099FF"
	         />
 
	    <TextView android:id="@+id/nbeetudiant"
	         android:layout_width="wrap_content"
	         android:layout_height="fill_parent"
	         android:textSize="20px"
	        android:textColor="#0099FF"
 
	         />
 
    </LinearLayout>
 
</LinearLayout>
Je vous donne le code de l'item et de la listview car je ne sais pas d'où vient l'erreur