Scrollviewの下部から余分なスペースを削除する方法。以下は、2つの外部レイアウトを含むXMLレイアウトです。多くのソリューションを参照しているが、どれも私のために働いていない。Scrollviewの下部から余分なスペースを削除する方法
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/sc"
android:layout_marginBottom="55dp"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:scrollbarStyle="outsideOverlay"
android:layout_weight="1"
android:fillViewport="true"
android:scrollbars="vertical">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:id="@+id/linprodetaill"
android:layout_above="@+id/bt"
android:layout_height="wrap_content">
<include
android:id="@+id/l1"
layout="@layout/productexpand_items" />
<include
android:id="@+id/l3"
layout="@layout/dynamic_view"
/>
</LinearLayout>
</ScrollView>
あなたのscrollView – Vodet