Search code examples
androidgenexusgenexus-sd

Changing captions on DateTime Picker dialog


In the DateTimePicker, when the App is in portuguese, the word "Confirmar" (default) doesn't fit the button in some devices. Is it possible to change it?

enter image description here


Solution

  • Yes, you can change this text directly in the Language object (Portuguese) and it will be used on the next Build/Run. It's the translation for the GXM_button_ok literal.

    For the record, the three literals are:

    • GXM_button_ok
    • GXM_Now
    • GXM_cancel