0
我的Android的ScrollView
有問題。我正面臨着無限的垂直滾動。即使我已經用完了元素,我仍然可以通過空白區域進行滾動。我想ScrollView
向下滾動到相對佈局的末尾。如果你有任何解決方案,這將不勝感激。Android的Scrollview無限滾動
在此先感謝
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/scroll1"
>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:id="@+id/info"
android:background="@color/main_backgroundColor" >
<LinearLayout
android:id="@+id/Line"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
</LinearLayout>
<com.etsy.android.grid.StaggeredGridView
android:id="@+id/mainGridview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:numColumns="2"
android:scrollbars="none"
android:stretchMode="columnWidth"
android:layout_below="@+id/Line"
android:verticalSpacing="1dp" />
<WebView
android:id="@+id/WebView_home"
android:layout_width="0dp"
android:layout_height="0dp"
android:visibility="invisible" />
</RelativeLayout>
</ScrollView>