简体   繁体   中英

Cannot resolve symbol Digits.Builder()

我想更改“数字”屏幕的主题,以及默认情况下按钮上的文本。

change the background of the digit whatever color you want set it,same as settextColor like,

button.setTextColor(0xff0000);

or

button.setTextColor(Color.parseColor("#ff0000"));

or

button.setTextColor(getApplication().getResources().getColor(R.color.red));

set color to the layout as:

v.setBackgroundColor(0xFF00FF00);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM