www.5213.net > 请帮我看看,simplE_list_itEm_singlE_ChoiCE显示...

请帮我看看,simplE_list_itEm_singlE_ChoiCE显示...

用android.R.layout.select_dialog_singlechoice就OK了,不过还是不知道问题的原因,the problems reason maybe that the text color and background of the list items are the same

arrayAdapter = new ArrayAdapter(this, android.R.layout.simple_list_item_single_choice, arrayList); pairedDevicesListView.setAdapter(arrayAdapter); listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);

网站地图

All rights reserved Powered by www.5213.net

copyright ©right 2010-2021。
www.5213.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com