[英]Cannot resolve symbol Digits.Builder()
我想更改“数字”屏幕的主题,以及默认情况下按钮上的文本。
change the background of the digit whatever color you want set it,same as settextColor like, 更改数字的背景,使其与settextColor一样,
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);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.