datetimepicker
datetimepicker copied to clipboard
Custom font
Is it possible to pass a style fontSize
and fontFamily
? It currently doesn't work.
@corradio did you ever find a solution to this? I'm also having this problem and even more importantly, I need to be able to change the text color since I have a dark background
Unfortunately I did not find a solution for this :/
On Mon 28 Oct 2019 at 21:29, Benji [email protected] wrote:
@corradio https://github.com/corradio did you ever find a solution to this? I'm also having this problem and even more importantly, I need to be able to change the text color since I have a dark background
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/react-native-community/react-native-datetimepicker/issues/24?email_source=notifications&email_token=AAMUIKFF4P4PY3QJE5LJMALQQ5DQ5A5CNFSM4IVFOHLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECOJDKA#issuecomment-547131816, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMUIKFLPLWDPQVUFNXBSTLQQ5DQ5ANCNFSM4IVFOHLA .
Any comment from the maintainers on this? I'd really like this feature as well.
for changing font color, that seems kinda possible, but perhaps not the idiomatic way to do so, see SO
as for Android, some customization can probably be done by editing some theme-related xml files. I do not have plan to add this, feel free to contribute. Thank you.
Hi, i run into the same error, i did use the customStyle dateText, and it did work fine for me customStyles={{
dateIcon: {
width:0,
height:0,
},
dateInput:
{
borderWidth: 0,
position:'absolute',
left: 0,
},
dateText:
{
fontFamily:'raleway',
color: Colors.gray_light,
}
}}