Android : Unexpected behavior in ListView with imageview in row with different layout_height

on Friday, September 26, 2014


I have a listview, his row have two textview and a imageview.


This is the XML code:



<ListView
android:id="@+id/lv_home"
style="@style/listview_general"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textFilterEnabled="true"
android:layout_below="@+id/nue_panel"/>


Bellow of listview i have a floating layout that hidden when i do scroll (Like twitter). When i set the listview height to wrap_content i have an issue, the imageview of rows (Generally the number 8, its above of the mentioned twitter layout) randomly gets an image of other listview row, but i dont know why?


Anyone have an idea?


0 comments:

Post a Comment