Thanks for your reply.

I tried "integer|signed" and "signed|integer" but it doesn't make any 
difference. The negative sign doesn't show in the text edit and the value 
ends up positive. Have you been able to enter negative numbers? I have tied 
to enter the negative sign when running the app by pressing the I key on the 
emulator keyboard. I am using Eclipse. Is this the correct key, do you press 
it before or after the numbers and are there any other keys to press such as 
shift etc? I am sure there will be a simple answer but it is frustrating not 
knowing what that answer is.


----- Original Message ----- 
From: "Odessa Silverberg" <[email protected]>
To: "Android Beginners" <[email protected]>
Sent: Monday, June 22, 2009 1:57 AM
Subject: [android-beginners] Re: minus key on the keyboard



Did you tried using
android:numeric="integer|signed"? As you haven't told android if you'd
like integers or decimals as format. If you wanna use decimals, then
try decimal|signed

On Jun 21, 7:55 am, MMC2 <[email protected]> wrote:
> I have a text edit that has android:numeric="signed" in the xml
> layout. But I can't enter a negative number in to it. I have tried
> pressing the I key for negative but it doesn't work. Can someone tell
> me what I am doing wrong please.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to