【问题标题】:How to set "textColor" property of button in android 2.1?如何在 android 2.1 中设置按钮的“textColor”属性?
【发布时间】:2010-04-12 10:24:35
【问题描述】:

我正在尝试在 android 2.1 中设置按钮的“textColor”属性。但我无法将其设置为正确的值?在 android 2.1 中设置按钮的“textColor”属性的正确方法是什么?

【问题讨论】:

    标签: android


    【解决方案1】:

    只需设置十六进制值即可更改颜色。我能够通过一些试验/错误找到这个

    例如#aa0000 为红色。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-24
      相关资源
      最近更新 更多