<ScrollView
android:id="@+id/layout_guide_detail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="55dp"
>
<Button
android:id="@+id/btn_guideTab_backButton"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/backicon_round"/>
<TextView
android:id="@+id/text_guideTab_detail_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:textColor="@color/color_green"
android:text="Error"
android:textSize="19dp" />
</RelativeLayout>
<ListView
android:id="@+id/list_guideTab_detail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"></ListView>
</LinearLayout>
</ScrollView>
ScrollViewは、タイトルのためのボタンやテキストを持っており、残りは(を含むリストビューscrollviewはスクロールできません
私は何をしたいことは、画面全体をスクロールすることであるためでありますrelativeLayout listview) しかし、問題は、私が画面をスクロールしようとすると、私はリストビューをスクロールできるだけです...
この単純なライブラリを確認してくださいhttps://android-arsenal.com/details/1/1919 –
'RecyclerView'を' wrap_content'で使用してください –