I have found some similar questions on this topic but it works for support version
and not on androidx
. I wasn't able to make this change on androidx. But on the previous support version there are solutions for it already. Can anyone give me some directions on how I can change the title and editetext field text color in EditTextPreference? Currently the color is white and with the background being white too, the texts are not visible.
And here are the solutions I found on stackoverflow already but I wasn't able to use.I would like to change the white text color to black. Thank you.
In the thread of Murphybro2's solution we got also the solution for androidx https://stackoverflow.com/a/58836953
You can change the AlertDialogStyle used by your app by providing a custom Theme style
The most important one for me was "windowIsFloating">true because else the window is stuck to the top of your screen For me somehow only adding the extra textViewStyle helped to change the top text inside the dialog, but I think its because of my example theme.