Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Add keys to virtual keyboard

Add keys to virtual keyboard

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Add keys to virtual keyboard

Postby rellik1982 » Thu Jun 04, 2009 12:15 pm

Hello,

Is it possible to add keys (for example "Next" or "OK") to the virtual keyboard.

Example in the SMS app, there is a "Next" button to change from the field of the form which replace the return button.

Thanks
rellik1982
Freshman
Freshman
 
Posts: 8
Joined: Mon Mar 30, 2009 12:24 pm

Top

Postby keylimepai » Thu Jun 04, 2009 1:48 pm

Yes. Take a look at KeyboardView and Keyboard classes in the android.inputmethodservice.* package. It allows the specification of an XML file to create a keyboard with whatever keys you'd like on it.
keylimepai
Junior Developer
Junior Developer
 
Posts: 14
Joined: Wed May 27, 2009 7:14 pm

Postby rellik1982 » Thu Jun 04, 2009 2:17 pm

I've seen that and the sample in the SDK but it seems to be necessary to describe all the keys. And that also means that i've got to describe it in qwerty, in azerty and for languages such as japanese... a bit too much for me ;)

Am i wrong ? Or can i only add / replace one key in the original keyboard
rellik1982
Freshman
Freshman
 
Posts: 8
Joined: Mon Mar 30, 2009 12:24 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests