ExpandableListView centré horizontalement
Bonjour à tous, comment puis-je centrer horizontalement une ExpandableListView?
J'ai bien essayé ceci, mais sans résultats:
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center" >
<ExpandableListView android:id="@+id/expandableView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center" />
</LinearLayout> |
Merci d'avance