Подтвердить что ты не робот

Удалить значок заголовка группы по умолчанию расширенного списка

Я не могу удалить значок заголовка группы Expandable listview, может кто-нибудь сказать мне, как установить его в null в xml..

Обновление

<ExpandableListView android:id="@+id/elist"
    android:layout_marginTop="1dip" android:layout_weight="1"
    android:layout_width="fill_parent" android:layout_height="wrap_content"
    android:fastScrollEnabled="true" android:scrollbarSize="4dip"
    android:smoothScrollbar="true" android:scrollbars="horizontal"
    android:groupIndicator="@null" />

и мой заголовок группы Я использую следующий xml

<?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">
    <ImageView android:id="@+id/ImageView01"
        android:layout_height="wrap_content" android:src="@drawable/zimbabwe"
        android:layout_width="wrap_content"
        android:layout_marginLeft="10dip">
    </ImageView>
    <TextView android:id="@+id/childname"
        android:paddingLeft="35dip" android:textSize="16dip"
        android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>

но он не работает для меня

Мой SimpleExpandableListAdapter:

SimpleExpandableListAdapter expListAdapter = new SimpleExpandableListAdapter( this, 
        createBetGroupList("spot"), 
        R.layout.group_row, new String[] { "BetGroup" }, 
        new int[] { R.id.childname }, createBetChildList("spot") , 
        R.layout.child_row, new String[] { "betText","betRate","betID" }, 
        new int[] { R.id.txtBetText, R.id.txtdecRate,R.id.txtstrBetID} );
4b9b3361

Ответ 1

Вы должны указать в своем XML файле макета groupIndicator значение null:

<ExpandableListView [...] 
    android:groupIndicator="@null" />