anko icon indicating copy to clipboard operation
anko copied to clipboard

hintTextColor can not work in anko?

Open wanghh2000 opened this issue 6 years ago • 1 comments

hintTextColor can not work in anko?

      textInputLayout {
                owner.txtServer = editText {
                    hint = "服务器地址"
                    isFocusableInTouchMode = true
                    inputType = InputType.TYPE_CLASS_TEXT
                    textColor = Color.WHITE
                    hintTextColor = Color.CYAN
                }
            }

wanghh2000 avatar Jun 09 '19 04:06 wanghh2000

hintTextColor = ContextCompat.getColor(ctx, R.color.colorABC) Its work for me (Y)

TyFancaoHuynh avatar Jul 26 '19 07:07 TyFancaoHuynh