how to customize simple_list_item_multiplechoice.xml file
<p>here i used this code to display contacts with check boxes....</p>

<pre><code>SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
                android.R.layout.**simple_list_item_multiple_choice,c**,
                        new String[] {
                            //Phone.TYPE,
                            Phone.DISPLAY_NAME,
                            Phone.NUMBER
                        },
                        new int[] { android.R.id.**text1**, android.R.id.**text2** });
</code></pre>

<p>its working well ..but not showing contact number..showing only name with checkboxes each row.to do this ,i created my ownlayout and placed main instead of simple_list_itemmultiplechoice as below</p>

<pre><code>SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
                android.R.layout.**main**,c,
                        new String[] {
                            //Phone.TYPE,
                            Phone.DISPLAY_NAME,
                            Phone.NUMBER
                        },
                        new int[] { android.R.id.**text_name**, android.R.id.**text_phone** });
</code></pre>

<p>but its showing error as <strong>main cannot be resolved or is not a field</strong></p>

<p>can u solve my problem..thanks in advance</p>
