TextInputLayout and EditText double hint issue

后端 未结 7 2266
生来不讨喜
生来不讨喜 2021-02-11 19:34

I want to set the hint with java in EditText(which is in TextInputLayout).

Code used for setting hint:

aET = (EditText) findViewById(R.id.

7条回答
  •  无人共我
    2021-02-11 19:50

    first compile dependency compile 'com.rengwuxian.materialedittext:library:2.1.3'

    add this in your xml

    
    

    add xmlns:app="http://schemas.android.com/apk/res-auto"

提交回复
热议问题