我想在这些方面做点什么:
我能够显示提示android:hint="Email Address"但无法显示帮助文本 - 这将是您的电子邮件用户名
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/et_username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="15"
android:hint="Username"
app:et_helper="Username is preferably your registered email"/>
</android.support.design.widget.TextInputLayout>`
Run Code Online (Sandbox Code Playgroud)
我得到的只是,并且没有用户名最好是您在edittext下面注册的电子邮件:
输出:
任何指针赞赏.谢谢.
android android-layout android-edittext androiddesignsupport android-textinputlayout
android ×1