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 - restrict spinner to drop down

restrict spinner to drop down

Put your problem here if it does not fit any of the other categories.

restrict spinner to drop down

Postby ulliGT » Mon Jan 28, 2008 5:40 pm

hey everybody!

i'm having some trouble here creating a dialog window containing a bunch of spinners. the problem is that i cannot place two spinners horizontally next to each other for i can never reach the second one due to the direction keys only being listened to by the spinner and not by the focus (i fear this was not too understandable *g*).

however... what i'm now trying to do to work around this problem is using the spinners just as dropdown menus. is that possible? can i disable the spinning and only allow the drop functionality?

thanks!
ulli.
ulliGT
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Jan 28, 2008 5:34 pm

Top

Postby bluefloyd8 » Mon Jan 28, 2008 9:54 pm

Im not an android guru (in fact, im still a beginner). I think you might be able to overload/override onKeyDown() function for the spinner. Then, you can modify it to not respond to LEFT/RIGHT key commands.

public boolean onKeyDown(int keyCode, KeyEvent event)

http://code.google.com/android/referenc ... inner.html

Its just an idea.
User avatar
bluefloyd8
Experienced Developer
Experienced Developer
 
Posts: 70
Joined: Tue Jan 22, 2008 3:57 am
Location: Indiana, USA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 12 guests