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

Input type phone not working inside custom dialog #384

Open
parthitechnotion opened this issue Jul 1, 2019 · 0 comments
Open

Input type phone not working inside custom dialog #384

parthitechnotion opened this issue Jul 1, 2019 · 0 comments

Comments

@parthitechnotion
Copy link

Place below code inside custom dialog layout and try to enter any number it will not allow to enter any number from 0 - 9 range

<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/edtContactPersonMobile"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/contact_person_mobile"
android:imeOptions="actionNext"
android:inputType="phone"
android:maxLength="13"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:textSize="16sp"
app:met_baseColor="@android:color/black"
app:met_floatingLabel="highlight"
app:met_floatingLabelText="@string/contact_person_mobile"
app:met_floatingLabelTextSize="10sp"
app:met_hideUnderline="false"
app:met_primaryColor="?colorAccent" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant