最终实现效果:
具体实现:
1. 使用listview的多选模式: 在listview的布局中加入:android:choiceMode=”multipleChoice”
<ListView
android:layout_marginTop="50dp"
android:id="@+id/list_view"
android:layout_width="match_parent"
android:layout_marginRight="30dp"