Open AlexandreMouyen opened 3 years ago
It worked with style prop (backgroundColor) up to version 1.11. It got changed (but not documented?) in version 1.12. See here: https://github.com/react-native-picker/picker/blob/5a4ba06be462f834fcd6e26ad3098b3e2528bcb6/js/PickerAndroid.android.js#L170 Use prop backgroundColor (not in style, but its own prop). Unfortunaltely, TS types and documentation were not updated to reflect this change. This works:
<Picker ... backgroundColor="blue">...</Picker>
but TypeScript will not recognize it.
This didn't work for me @janrozic
This didn't work dialog background for me too @janrozic & @afonsopbarros
Does anyone have solutions yet?
really? This library dont support backgroundColor?
I am also facing the same issue. Wanted to have White colour background Dialog box for Dark theme Android and Not able to do that.
Any news on that?
I tried styling, background only apply to items, giving a white space on top and bottom.
Wanted to have White colour background Dialog box for Dark theme Android and Not able to do that.
I want to have a dark dialog box for dark theme on Android and I can't do that... How's that for irony?
Hello there,
Is there a way to change Android's dialog backgroundColor ?
I already tried tons of styles, nothing is working...
Thanks a lot.