Эй, ребята, я очень inexpirienced в развитии Android, так что я нужна ваша помощь :)контролировать скорость прокрутки в HorizontalScrollView в андроид
Этот вопрос
Я хочу, чтобы пользователь мог видеть список изображений, но как только они прокрутки Я хочу, чтобы иметь возможность перейти к следующему изображению, а не скользить слишком много, и пропустить изображения
Вопрос в
Итак, есть способ сделать скорость прокрутки медленнее или HorizontalScrollView - это не тот вид, который я хочу, чтобы добиться того, чего я хочу?
Мой код
<HorizontalScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:id="@+id/scrollView">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sample_0"
android:id="@+id/dog"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sample_1"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sample_2" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sample_3"/>
</LinearLayout>
</HorizontalScrollView>
спасибо большое за ответ, однако, кажется, что вещь, я ищу является переопределение OnScroll () мето д. Если мне удастся это выяснить, я отправлю ответ здесь :) – catchiecop