I use textStyle and itemTextStyle to change font family in Picker text item but doesn't work.
Can anyone help me?
<Picker
mode="dropdown"
selectedValue={this.state.selectedProvince}
onValueChange={() => { }}
textStyle= {{
fontFamily: 'IRANSans'
}}
>
{Object.keys(this.state.provinces).map((key) => {
return (<Picker.Item label={this.state.provinces[key]} value={key} key={key} />)
})}
</Picker>
and
<Picker
mode="dropdown"
selectedValue={this.state.selectedProvince}
onValueChange={() => { }}
itemTextStyle= {{
fontFamily: 'IRANSans'
}}
>
{Object.keys(this.state.provinces).map((key) => {
return (<Picker.Item label={this.state.provinces[key]} value={key} key={key} />)
})}
</Picker>
@alihesari checked this. Changing font family is working fine. Check whether the fontFamily is supported. Attaching a gif.
Gif

@akhil-geekyants Hi, I'm using a Persian font named IRANSans. This font does not work on Picker and worked on other tag such <Text>
Please open again this issue.
@alihesari tried with IRANSansWeb. Attaching a gif.
Gif

@akhil-geekyants Please see those images:
In these images you can the use of IRANSansWeb and IRANSansMobile for input and Picker.
IRANSansWeb and IRANSansMobile for input work correctly, but these two fonts for Picker are not working correctly. Why?


@akhil-geekyants It's not working on Android, I think this issue should reopen.
@akhil-geekyants You are testing Font-family on <Text> tag, but We have this problem in the <Picker> and <Picker.Item> for Android. 馃槃馃槂 Did you know what I mean?
@behzad888 Hi, Behzad I think this is a React Native problem on Android. Please read this #1885
Also you can use this https://github.com/sohobloo/react-native-modal-dropdown