1

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

4

2 回答 2

2

是的,您可以直接在 Language 对象(葡萄牙语)中更改此文本,它将在下一次 Build/Run 中使用。这是GXM_button_ok文字的翻译。

为了记录,这三个文字是:

  • GXM_button_ok
  • GXM_现在
  • GXM_取消
于 2014-10-02T17:50:28.807 回答
0

你不能改变它。唯一的解决方案是,您应该创建一个包含日期、时间选择器和按钮的自定义对话框,并正确调整其中的按钮。奇怪的是原生android源代码中存在这个问题!

于 2014-10-01T15:58:12.513 回答