2011. 6. 1. 14:33
1)라디오 버튼 생성

g_arrAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_single_choice, g_arrList);
setListAdapter(g_arrAdapter);


ListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);



2)체크박스 생성

g_arrAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_multiple_choice, g_arrList);
setListAdapter(g_arrAdapter);


ListView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);


출처 : khuti.tistory.com/21
Posted by newkie