StackView控件是AdapterViewAnimator的子列,以堆叠的方式显示多个列表项
XML布局:
<StackView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/stackView"
android:orientation="horizontal"
android:layout_alignParentLeft="true"