您好,欢迎来到花图问答。
搜索
您的当前位置:首页TextInputLayout的使用

TextInputLayout的使用

来源:花图问答
<android.support.design.widget.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <EditText
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:hint="用户名/邮箱:"
            android:inputType="textEmailAddress|text"
            android:maxLength="10"/>
    </android.support.design.widget.TextInputLayout>

使用方法很简单,只要在里面包一个EditTextView即可

Copyright © 2019- huatuowenda.com 版权所有 湘ICP备2023022495号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务