Picker arrow is white - how can I change the color?
See original GitHub issueMy picker caret/arrow is white, and because my background is also white it looks like it’s missing. How can I make it the default black? This is the issue on both iOS and Android
<ListItem last icon onPress={() => { }}>
<Body>
<Text>{I18n.t('$setting_owner_alarm_unattend_time')}</Text>
</Body>
<Right>
<Picker
supportedOrientations={['portrait', 'landscape']}
iosHeader={I18n.t('$setting_owner_picker_header')}
headerBackButtonText={I18n.t('$setting_owner_picker_back')}
mode='dropdown'
selectedValue={this.state.alert_interval}
onValueChange={(val) => { this.setState({alert_interval: parseInt(val)}) }}>
{
this.state.intervals.map(val => (
<Item key={val} label={I18n.t('$setting_owner_alarm_min', {n: val / 60})} value={val} />
))
}
</Picker>
</Right>
</ListItem>
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Change the default React Native <Picker> drop-down arrow icon
You can change drop-down arrow icon in android like following : <Picker dropdownIconColor= 'colorName'/>.
Read more >Change the color of Android's picker dropdown arrow | Voters
Change the color of Android's picker dropdown arrow. Ahmed Magdy El Hanafy. Add the option to change the color of the dropdown arrow...
Read more >Add or change the background color of cells - Microsoft Support
To remove any background colors, patterns, or fill effects from cells, just select the cells. Then click Home > arrow next to Fill...
Read more >Styling - Lunacy Documentation - Icons8
Click the color box in the color control and use the color picker to define the required color. OR. Type or paste the...
Read more >Adjust color, saturation, and hue - Adobe Support
To edit the range by choosing colors from the image, select the color picker, and click the image. Use the color picker +...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can change the color in your styles.xml by adding this to your theme:
There is no way to control it via react-native and thus native-base (since NB just passes straight down to RN).
@amitpadmani If you aren’t using expo then you can do what @jnicholls said above.
I use expo and I couldn’t find another way so all I did was remove it… you can remove it by setting a
backgroundColor
to thePicker
component like so -