[android-developers] How to customize onscreen keyboard? Please help!

2010-02-26 Thread EvgenyV
Hi All!

I need to hide all keys except numbers, point and dash and change the
dash behaviour.

Unfortunately attribute android:inputType="number|numberSigned|
numberDecimal" doesn't hide @, #, $ etc. keys.

How can I customize the soft keyboard view? I actually need to show
and react to my custom view. What is is the fast and right way to
implement it?

Please advise some example or code snippets helps to move forward.

Thanks in advance,
Evgeny

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] How to customize onscreen keyboard? Please help!

2010-02-26 Thread Mark Murphy
EvgenyV wrote:
> Hi All!
> 
> I need to hide all keys except numbers, point and dash and change the
> dash behaviour.

You can't. You can create your own soft keyboard, and convince users to
switch to it -- but then you will need to create a *complete* soft
keyboard, since their choice is for their phone, not your application.

> I actually need to show
> and react to my custom view.

Then make your "soft keyboard" be part of your custom view. Sounds like
12 Button widgets would do the trick.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] How to customize onscreen keyboard? Please help!

2010-02-26 Thread Evgeny V
I got it.
Thank you very much!

On Fri, Feb 26, 2010 at 2:43 PM, Mark Murphy wrote:

> EvgenyV wrote:
> > Hi All!
> >
> > I need to hide all keys except numbers, point and dash and change the
> > dash behaviour.
>
> You can't. You can create your own soft keyboard, and convince users to
> switch to it -- but then you will need to create a *complete* soft
> keyboard, since their choice is for their phone, not your application.
>
> > I actually need to show
> > and react to my custom view.
>
> Then make your "soft keyboard" be part of your custom view. Sounds like
> 12 Button widgets would do the trick.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Development Wiki: http://wiki.andmob.org
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en