If you mean the phone number on the keyboard, you can simply use it:
EditText editText=new EditText(context);
editText.setInputType(InputType.TYPE_CLASS_PHONE);
therefore, every time a user tries to enter data, a keyboard screen will appear on the screen panel.
source
share