username-removed-534375Changed title: 0.101-alpha5 dark/black themes have white text on white background popups → 0.101-alpha1 and later, dark/black themes have white text on white background popups
Changed title: 0.101-alpha5 dark/black themes have white text on white background popups → 0.101-alpha1 and later, dark/black themes have white text on white background popups
So it turns out that the ListPreference type (i.e. the one used for the "Theme", "Language", "Automatic update interval", etc) is to blame. Found this SO post which pointed to this reddit post which pointed to this class which seems to solve the problem.
For those interested, the problem is:
The ListPreference class is responsible for creating a Dialog to pop up.
It uses the android.app.AlertDialog.Builder, not the android.support.v7.AlertDialog.Builder.
As it doesn't use the support library builder, it doesn't get the support library styles.
The solution is to use a custom subclass of ListPreference which uses the correct AlertDialog.Builder, and thus it respects out theme choice.