I have a custom preference, which extends EditTextPreference:
class DeleteAccountPreference(context: Context, attrs: AttributeSet) : EditTextPreference(context, attrs) {
...
}
preferences.xml
<my.app.DeleteAccountPreference
android:layout="@layout/preference_click"
android:key="delete_account"
android:title="Delete Account"
android:dialogMessage="@string/delete_account_message" />
Which I have applied a custom theme to:
styles.xml
<style name="BaseTheme" parent="Theme.AppCompat.NoActionBar">
...
<item name="alertDialogTheme">@style/AlertDialogTheme</item>
</style>
<style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
<item name="android:background">@color/colorIcons</item>
<item name="colorPrimary">@color/colorLightBlack</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="colorPrimaryDark">@color/colorExit</item>
<item name="editTextColor">@color/colorAccent</item>
<item name="android:textColorHint">#000000</item>
<item name="android:windowBackground">@color/colorPrimary</item>
</style>

However no matter what item I add to AlertDialogTheme, I can't seem to change the dialogMessage color (which is white) shown below.
Any idea what <item> I need to add to change this color?

