Put your problem here if it does not fit any of the other categories.
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?
- Once Poster
- Posts: 1
- Joined: Mon Jan 28, 2008 5:34 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.
- Experienced Developer
- Posts: 70
- Joined: Tue Jan 22, 2008 3:57 am
- Location: Indiana, USA
Return to Other Coding-Problems
Who is online
Users browsing this forum: Google [Bot], Yahoo [Bot] and 12 guests