How to set checkbox checked and disabled
<p>I have this code for showing list of languages for download:</p>

<pre><code>public void onCreateDialog(ArrayList&lt;String&gt;fullLangArray, final ArrayList&lt;String&gt;codeLangArray) {

    final String[] items = fullLangArray.toArray(new String[fullLangArray.size()]);

    final ArrayList mSelectedItems = new ArrayList();

    AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);

    // Set the dialog title
    builder.setTitle("Updates...")
            .setMultiChoiceItems(items, null,
                    new DialogInterface.OnMultiChoiceClickListener() {
                        @Override
                        public void onClick(DialogInterface dialog, int indexSelected,
                                            boolean isChecked) {
                            if (isChecked) {
                                  mSelectedItems.add(Utils.SERVER_ADDRESS + "/" + codeLangArray.get(indexSelected) + ".zip");
                            } else if (mSelectedItems.contains(indexSelected)) {
                                  mSelectedItems.remove(Integer.valueOf(indexSelected));
                            }
                        }
                    })

            .setPositiveButton("Download", new DialogInterface.OnClickListener() {
                @Override
                public void onClick(DialogInterface dialog, int id) {

                    DownloadTask downloadTask = new DownloadTask(MainActivity.this);
                    downloadTask.execute(mSelectedItems.toString());

                }
            })
            .setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
                @Override
                public void onClick(DialogInterface dialog, int id) {

                }
            });

    AlertDialog alertDialog = builder.create();
    alertDialog.show();
}
</code></pre>

<p>I want to make a one item of a checkbox is checked and "<strong>disabled</strong>" like in a photo (<em>Option 3</em>) when AlertDialog is loaded.</p>

<p><a href="https://i.stack.imgur.com/6x2Vf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6x2Vf.jpg" alt="enter image description here"></a></p>

<p>Can you help me how to do it?</p>