Необходимо изменить цветной разверток по умолчанию в диалоговом окне «Прогресс» по API 21 и выше.Как изменить загрузчик ProgressDialog (счетчик)?
ProgressDialog progressDialog = new ProgressDialog(context);
progressDialog.setProgress(R.id.progressBar);
progressDialog.setMessage(message);
progressDialog.setProgressStyle(R.style.MaterialTheme);
progressDialog.setCancelable(false);
progressDialog.show();
И мой материал тема
<!-- Material theme. -->
<style name="MaterialTheme" parent="MyMaterialTheme.Base">
</style>
<style name="MyMaterialTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
, пожалуйста, отправьте код здесь –