我有一个HorizontalScrollView用户可以滚动阅读一些TextViews. 这被放置在一个ViewPager.
因此,如果用户滚动整个HorizontalScrollView页面而不是显示过度滚动,我希望整个页面(内部ViewPager)开始滚动......
任何想法?
<HorizontalScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollbars="none"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:id="@+id/tagLine"
>
</LinearLayout>
</HorizontalScrollView>
LinearLayout 在运行时填充TextView
此布局由 aFragment使用的 a膨胀ViewPager