Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement for work with android.support.design.widget.TextInputLayout together #26

Open
mateusdias opened this issue Feb 6, 2017 · 0 comments

Comments

@mateusdias
Copy link

mateusdias commented Feb 6, 2017

Dears,

When I use MaskedEditText with TextInputLayout the place holder text not is possible, when start activity, the field show the mask, not label for this field.

Maybe update the code to extends for android.support.design.widget.TextInputEditText solve this.

<android.support.design.widget.TextInputLayout
            android:id="@+id/textInputLayoutPhoneNumber"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/radioGroupGender"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp">

            <com.github.pinball83.maskededittext.MaskedEditText
                android:id="@+id/maskedPhoneNumber"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:inputType="number"
                app:mask="(**) *****-****"
                app:notMaskedSymbol="*"
                app:maskIconColor="@color/colorPrimary"
                />

</android.support.design.widget.TextInputLayout>
@pinball83 pinball83 added this to the 1.1.0 milestone Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants