Reputation: 3038
I would like to allow my HorizontalScrollView to be scrollable even if it doesn't have enough items. If I have say like 5 images on my ScrollView it scrolls. But when I only have 3 it doesn't. Any ideas? Thanks.
Upvotes: 3
Views: 2387
Reputation: 71
By my understand, would you like alway enable overScrollMode, in this case, just add android:overScrollMode="always"
in your define scrollview xml:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:overScrollMode="always">
Upvotes: 2