Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9001293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:25:01+00:00 2026-06-16T00:25:01+00:00

I want to input EditText som characters: android:digits=1234567890-_@#. If I don’t set inputType keyboard

  • 0

I want to input EditText som characters:
android:digits=”1234567890-_@#.”
If I don’t set inputType keyboard input Text is default.

I want show number keyboard show default.
But:

If in EditText design ,i set:

 android:inputType="number"

or

android:inputType="phone"

EditText don’t show key (@,_)
How show default keyboard number (allow input digits="1234567890-_@#.") in Edittext?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:25:02+00:00Added an answer on June 16, 2026 at 12:25 am

    Use this :

           <EditText
                android:id="@+id/ed1"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text="" 
                android:inputType="number"
                android:digits="1234567890-_@#."/>
    

    It works for me and allow me to insert this characters “1234567890-_@#.” only.

    Hope this will help you.

    Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got a EditText . I only want input characters: a->z,A->Z,0->9 and @.#,-,_
Hi In my android app, I want to get user's input from a EditText
I want my EditText content type as numeric. I set InputType which is 2
I want an editText that only allows text input from A to z ,
I want to detect if input string in EditText is arabic or english, How
Now,my EditText only can input number.But I want to ban inputing zero when the
I want to input a string or number from the keyboard and then display
I have set input type to be numberdecimal but also want to populate the
I'm replacing some text in an EditText, then I want to move the cursor
Is there any way to limit the input text of edittext to english and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.