I have a listview with one textview and a button in each row. Button background is setting using some conditions. If i have number of rows in list and scrolled, the button b
That sounds like an issue which is caused by the ListView re-using layout elements. Without seeing the code that is actually setting the image to the view it's a little hard to say for sure but maybe this blog post will help...
http://android-developers.blogspot.com/2009/05/drawable-mutations.html
call yourListViewadapter.notifyDataSetChanged() when data is changed