TextInputLayout Hint doesn't float up after updating Google Support Library

前端 未结 6 1530
半阙折子戏
半阙折子戏 2020-11-30 14:20

I recently updated my support library to com.android.support:appcompat-v7:25.1.0 after which if I add a text to EditText via xml file the Tex

6条回答
  •  孤街浪徒
    2020-11-30 14:36

    @Rahul Sharma,

    Why you are using android:hint="From" and android:text="09:00 AM" in EditText tag of xml file?

    Instead of that you can use only android:hint="From in xml file and In Java code u can set text in dynamically.

    I hope u will get my point. Thanks.

提交回复
热议问题