Android Question Change the background of the buttons of a B4XDialog to light theme

hatzisn

Expert
Licensed User
Longtime User
I think (I know) I have been answered this question in the past but I cannot remember it or find it in my content.
How do I do that? I have found the:

a) B4XDialog.ButtonsColor
b) B4XDialog.ButtonsTextColor

I cannot remember though how I can do that...
 

hatzisn

Expert
Licensed User
Longtime User
I 've found it!

I did it with this code:
B4X:
    dialog.BackgroundColor = Colors.LightGray
    dialog.BorderColor = Colors.LightGray
    dialog.ButtonsColor = Colors.White
    dialog.ButtonsTextColor = Colors.DarkGray

I think there is a way of doing this by setting the theme of the android device?
 
Upvote 0
Top