I'm not sure if you are facing the same problem that I thought I was facing until I realised I was looking at a dialog with white text against a white background. Since SDK 24 some default colours have changed. Obviously, setting the text colour fixes the problem.