From b1c34abbf3083b09d366cfdfed64f1cc2bcbef78 Mon Sep 17 00:00:00 2001 From: nikitachebotarev <47414306+nikitachebotarev@users.noreply.github.com> Date: Fri, 20 Mar 2020 09:39:49 +0400 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Заменить namespace. --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e7f75a5..a760b30 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,8 @@ Add _xmlns:mask="http://schemas.android.com/apk/res-auto"_ to your layout xml ro android:layout_height="wrap_content" android:inputType="phone" android:typeface="monospace" - mask:allowed_chars="1234567890" - mask:mask="+7(###)###-##-##" + app:allowed_chars="1234567890" + app:mask="+7(###)###-##-##" android:hint="1234567890" app:keep_hint="true" /> @@ -51,8 +51,8 @@ You can optionally set the representation character (in case you don't want to u You can also change the mask and the representation character programatically: @@ -71,7 +71,7 @@ To enable Enter softkey action (IME action): @@ -103,8 +103,8 @@ compile 'ru.egslava:MaskedEditText:1.0.5' android:layout_height="wrap_content" android:inputType="phone" android:typeface="monospace" - mask:allowed_chars="1234567890" - mask:mask="+7(###)###-##-##" + app:allowed_chars="1234567890" + app:mask="+7(###)###-##-##" android:hint="1234567890" app:keep_hint="true" /> @@ -116,8 +116,8 @@ _mask_ задаёт требуемую маску, символ '#' задаёт Кроме того, всё тоже самое можно сделать и программно: