I have a listView which defined like this in xml:
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="150dp"
android:layout_x="4dp"
android:layout_y="183dp"
android:cacheColorHint="#00000000"
android:fadingEdge="vertical"
android:enabled="true" >
</ListView>
Everything's just fine, but in a strange way if user wants to scroll the list down to see other items and gets his finger up list turns back to top ? It's just not stopping where user scrolled... Why could it be happening? Thanks for help in advance...
try this:
ReplyDelete<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="150dp"
android:cacheColorHint="#00000000"
android:fadingEdge="vertical"
android:enabled="true" >
</ListView>
Maybe you shouldn't use match_parent for height.
ReplyDelete