Hi I am using the horizontal list view in this library https://github.com/MeetMe
and I used the adapter which contains imagebutton and textview but when I scroll from the image it won't scroll and I don't know why
can you help me?
main.xml
<com.meetme.android.horizontallistview.HorizontalListView
android:id="@+id/hlvCustomListFriends"
android:layout_width="wrap_content"
android:layout_height="200dp"
android:layout_alignParentLeft="true"
android:layout_below="@+id/shared_friends"
android:paddingBottom="10dp"/>
adapter.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_margin="5dp">
<ImageButton
android:id="@+id/imageButton_aaa"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:background="@null"
android:padding="5dp"
android:src="@drawable/icon_editbar_profile" />
<TextView
android:id="@+id/textView_aaa"
android:layout_width="80dp"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_below="@+id/imageButton_aaa"
android:layout_centerHorizontal="true"
android:gravity="center_horizontal"
android:text="dd"
android:textAppearance="?android:attr/textAppearanceMedium" />
</RelativeLayout>
I have been using the same library which you are using and got same issues like you are and it is also mentioned in the limitations of the library which you are using so it would be better to move on to another i posted a link that would work like charm.
Use this Horizontal Listview i am using this one and it has proper implementation even the scrol listners can be implemented works like a charms for me.
https://github.com/sephiroth74/HorizontalVariableListView
for eclipse