AlertDialog 字体颜色如何改?
AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(this, R.style.dialog));
builder.setTitle(getString(R.string.aaa));
builder.setMessage(getString(R.string.bbb) );
<style name="dialog" parent="Theme.AppCompat.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowIsTranslucent">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:textColor">@android:color/black</item>
<item name="android:background">@color/white</item>
<item name="android:backgroundDimAmount">0.5</item>
</style>
奇怪的是 ,我title的颜色变成黑色了,但message的颜色还是 白色,不知道在哪里设置?
望高手指点。