aminography / PrimeDatePicker

PrimeDatePicker is a tool that provides picking a single day, multiple days, and a range of days.
Apache License 2.0
472 stars 52 forks source link

add customized text for labels #12

Closed Azinnilchi closed 5 years ago

Azinnilchi commented 5 years ago

hi, thank you again for your library, it has been a great help for me. I was wondering how can I change the default value for some textview in bottomSheet, like "today", "from", "to", "select" and "cancel"? for example can I change the whole text to persian?!

Azinnilchi commented 5 years ago

I was able to set my custom text by adding "refs.xml" file to my "values" folder and override strings. like this <item name="action_cancel" type="string" tools:override="true"> لغو </item> but they don't get my declared font from code now! this issue is solved.