Bonjour
J'ai un soucie d'affichage avec mon ExpandableListView. Le texte à l’intérieur (ce qui apparait quand on clic : souspartie.xml) est coupé comme si j'avais un layout_height défini pourtant se n'est pas le cas. J'ai essayé de rajouté un android:layout_height="wrap_content" dans le tablerow mais sa ne change rien.
Pour dévier le problème j'ai rajouté android:layout_height="fill_parent" dans le textview colone1.
J'aurai aimé le mettre dans le tablerow.

souspartie.xml :
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
38
39
40
41
42
43
44
45
46
47
 
<?xml version="1.0" encoding="utf-8"?>
     <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
         android:id="@+id/table"
         android:layout_width="fill_parent"
         android:layout_height="fill_parent"
        >
 
    <TableRow  android:paddingRight="10dp"  >
 
         <Button
            android:id="@+id/buttonimg"
            android:layout_width="30dp"
            /> 
 
            <TextView
            android:id="@+id/colone1"
            android:layout_width="460dp"
            android:textColor="#5C0515" 
 
           />
 
        <TextView
            android:id="@+id/colone2"
            android:layout_width="100dp"
  			android:textColor="#5C0515"
            android:gravity="right"
           />
 
        <TextView
            android:id="@+id/colone3"
            android:layout_width="100dp"      
            android:textColor="#5C0515" 
             android:gravity="right"
            />
 
        <TextView
            android:id="@+id/colone4" 
            android:layout_width="100dp"
            android:textColor="#5C0515"
             android:gravity="right"
             /> 
 
 
    </TableRow>
 
</TableLayout>