Android - DialogFragment change title text color

2019-08-14 08:26发布

问题:

In my application I am changing the DialogFragment title bar background color on runtime. The problem is on different android versions the title text color is changing automatically so it looks sometimes ugly. I want to set a standard title text color for all smartphones. I followed this sample here to build my DialogFragment.

How to set the title text color?