Utworzono prostą aplikację, mam rozwijany widok listy, który wyświetla słowa słownika.Rozwinięty widok listy Zawsze przejdź do dolnego wydania
Ten rozwijany widok listy działa prawie poprawnie, ale kiedy dotknę dowolnego słowa, to przewija się do dołu. Każda pomoc zostanie doceniona.
To jest mój plik XML
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RelativeLayout
android:id="@+id/dicrellis"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true">
<ExpandableListView
android:id="@+id/expandable_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:cacheColorHint="#00000000"
android:transcriptMode="alwaysScroll"/>
</RelativeLayout>
</RelativeLayout>
i ten mój kod Java ...
mExpandableList = (ExpandableListView)findViewById(R.id.expandable_list);
mExpandableList.setAdapter(new MyCustomAdapter(Dictionary.this,arrayParents));
mExpandableList.setOnItemClickListener(this);
Ta odpowiedź jest bardzo pomaga w całości do mnie. Dzięki. – MukeshThakur