Horizontal scrollview is nested in vertical scrollview, and horizontal scrollview is nested in listview.
For more information about the code, see the attachment.
<Scrollview
Android: layout_width = "match_parent"
Android: layout_height = "match_parent">
<Relativelayout
Android: layout_width = "match_parent"
Android: layout_height = "wrap_content">
<Horizontalscrollview
Android: layout_width = "wrap_content"
Android: layout_height = "wrap_content"
Android: layout_below = "@ ID/line">
<Linearlayout
Android: layout_width = "wrap_content"
Android: layout_height = "wrap_content">
<Com. wauoen. fmp_test.mylistview
Android: Id = "@ + ID/listview"
Android: layout_width = "match_parent"
Android: layout_height = "wrap_content"
/>
</Linearlayout>
</Horizontalscrollview>
</Relativelayout>
</Scrollview>
Vertical scrollview + horizontal scrollview + listview enables listview to slide between the left and right