Defaulting to numeric keyboard on EditText without forcing numeric input.

by Mike Olson » Fri, 07 Aug 2009 01:00:46 GMT


Sponsored Links
 I have an EditText that I don't want to force to be a number, but
chances are it almost always will start with a number (The field is
"Quantity", and I'd like to to be free text, so I can write "1 oz", "2
boxes", etc).

Is there a way to have the on-screen keyboard default to the numeric
keyboard, but still allow me to enter letters if I press the "ABC"
button?  If I say add android:number="integer" it won't allow non-
numeric inputs.

Thanks,
Mike

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Dynamic keyboard for Indic languages (Telugu)

I have requested from Android Developers to incorporate Dynamic
Keyboard and support of OTC fonts similar to Windows 7. Many non
English language users can map Upper/Lower case keys to their own
language unicodes. I am new to Android developers group and expecting
some response from them. Android is supporting korean, Chineese and
easily can support Indic (Indian) languages of 1.2 Billion people.
Please response to this request.

Madhu Reddy

-- 

2. [NEED HELP]Nexus One broken LCD

Dear RR sekalian,
Hari ini LCD Nexus One saya pecah
Karena di kota saya (Malang) tidak ada service center HTC,saya mau
minta tolong sama RR sekalian,
barang kali ada yang punya LCDnya
Saya juga minta saran RR sekalian

Mohon bantuannya,

Terima kasih.

-- 
===============

3. [WTS] HTC HD2 (T-Mobile) 2nd

4. DDMS does not show VM list

5. In-app billing - ITEM_ID limitations

6. Custom hardware

7. Anyone know how to calculate speed WITHOUT GPS?