react-native-picker-select
react-native-picker-select copied to clipboard
styles input android
Hello, I am having a problem with the styles, but it only happens with android devices, as you can see I am assigning font styles and it does not take them, otherwise the iphone that is applying them, I have the useNativeAndroidPickerStyle in true, according to the documentation for these changes to be applied, I attach the images and part of the code, I hope they can help me.
This is on an iphone

This is on an android

this is the code I have
<RNPickerSelect
doneText='Seleccionar'
placeholder={{
label: 'Tipo de documento',
}}
value={formData.type_document}
useNativeAndroidPickerStyle={false}
onValueChange={(text) => {
setData('type_document', text)
}}
style={pickerStyleDocument}
items={billing}
/>

const pickerStyleDocument = { inputIOS: { color: '#271938', width: wp('80%'), height: wp('13%'), fontSize: hp(1.75), fontFamily: fontFamily.fontFamilyLight, marginLeft: wp(1) }, placeholder: { color: 'rgba(39,25,56,0.4)', fontSize: wp(4), fontFamily: fontFamily.fontFamilySemiBold, }, inputAndroid: { color: '#271938', width: wp('80%'), height: wp('13%'), fontSize: hp(1.75), fontFamily: fontFamily.fontFamilyLight, }, };
the version is
"react-native-picker-select": "8.0.4", "react-native": "0.63.4",
check this https://github.com/lawnstarter/react-native-picker-select/issues/446#issuecomment-1084262018 works
i same issue, fontFamily not change in android.