Android 4.4.2,colorAccent不适用于对话框中的单选按钮

Android 4.4.2,colorAccent不适用于对话框中的单选按钮,android,colors,dialog,Android,Colors,Dialog,我不明白我的错误在哪里。 这就是我的风格 <style name="MyAlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert"> <item name="colorAccent">@color/colorAccent</item> <item name="android:textColorPrimary">@color/colorPrimaryDa

我不明白我的错误在哪里。 这就是我的风格

 <style name="MyAlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
        <item name="colorAccent">@color/colorAccent</item>
        <item name="android:textColorPrimary">@color/colorPrimaryDark</item>
    </style>
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle(getResources().getString(R.string.dialog_choose_refresh_period));

        builder.setSingleChoiceItems(cs, mCurrentSelectedItem, new DialogInterface.OnClickListener() {

                    @Override
                    public void onClick(DialogInterface dialog, int which) {
                        // TODO Auto-generated method stub

                    }
        })

                // Set the action buttons
                .setPositiveButton(getResources().getString(R.string.dialog_caption_ok), new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int id) {
                    }
                })
                .setNegativeButton(getResources().getString(R.string.dialog_caption_cancel), new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int id) {
                        //  Your code when user clicked on Cancel

                    }
                });

        mDialog = builder.create();//AlertDialog dialog; create like this outside onClick
        mDialog.show();