私はActivity
に問題があります。 ScrollView
は下にスクロールしません。 はここにScrollView
の私のXMLレイアウトです:スクロール表示がパディングで正しく機能しない
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/test"
android:paddingRight="@dimen/layoutsPadding"
android:paddingTop="@dimen/layoutsPadding"
android:paddingLeft="@dimen/layoutsPadding"
android:paddingBottom="@dimen/scrollViewLayoutsPadding">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/tab_introduction_background"
android:orientation="vertical"
android:padding="@dimen/layoutsPadding">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/tab_introduction_title"
android:textSize="@dimen/bigFont"></TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/gap_titleAndText">
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/tab_introduction_description"
android:textSize="@dimen/smallFont"></TextView>
</LinearLayout>
</ScrollView>
私は何ができますか? LinearLayout
の詰め物を取り除くので、
'LinearLayout'のパディングを削除してください。 –
が働いていましたが、直線的なレイアウトにパディングがあります。 –
答えを確認してください。それがあなたのために働かないかどうか私に知らせてください。 –