1
<ListPreference
android:title="Question?"
android:summary="%s"
android:entries="@array/BS"
android:entryValues="@array/BS"
android:defaultValue="0"
android:key="BS"
></ListPreference>
我得到这个ListPreference,但它有这个取消按钮,我不是真的想要,它占用了太多的空间。我当然可以将它设置为白色,但我宁愿让它消失。使用没有取消按钮的ListPreference