I am implementing the progress dialog customization. In this I am adding the styles and colors.
<style name="ProThemeOrange" parent="@android:style/Theme.Dialog">
<item name="android:alertDialogStyle">@style/CustomAlertDialogStyle</item>
<item name="android:textColorPrimary">#e6e6e6</item>
</style>
<style name="CustomAlertDialogStyle">
<item name="android:bottomDark">@color/yellow</item>
<item name="android:bottomMedium">@color/yellow</item>
<item name="android:centerBright">@color/yellow</item>
<item name="android:centerDark">@color/yellow</item>
<item name="android:centerMedium">@color/yellow</item>
<item name="android:fullBright">@color/yellow</item>
<item name="android:fullDark">@color/yellow</item>
<item name="android:topBright">@color/yellow</item>
<item name="android:topDark">@color/yellow</item>
</style>
And I am adding the style to ProgressDialog
.
ProgressDialog pd = new ProgressDialog(this, R.style.ProThemeOrange);
I am getting the background color but on the top of progress dialog I'm getting black Color.
I need total background color as crimsonred.