Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

hintTextColor can not work in anko? #751

Open
wanghh2000 opened this issue Jun 9, 2019 · 1 comment
Open

hintTextColor can not work in anko? #751

wanghh2000 opened this issue Jun 9, 2019 · 1 comment

Comments

@wanghh2000
Copy link

hintTextColor can not work in anko?

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants