• M
    Set hint on TextInputLayout (#1962) · be74a35b
    Muhammad Wajeeh 提交于
    Set hint on TextInputLayout instead of EditText so that it animates properly when you start typing.
    
    From documentation:
    * The hint should be set on the TextInputLayout, rather than the EditText. If a hint is specified
     * on the child EditText in XML, the TextInputLayout might still work correctly; TextInputLayout
     * will use the EditText's hint as its floating label. However, future calls to modify the hint will
     * not update TextInputLayout's hint.
    be74a35b
DialogInputExt.kt 6.0 KB