I want to use/create a button that works like the one on the (HTC Desire) Soft Keyboard. So that when you make a long click, it will show a list of options, and by sliding your finger to the left or right, you select which option you want to choose.
Example: When I hold down the "12#" button on the keyboard, it presents the list: [: / @ _ - ! ? '], and by sliding left or right it highlights one of these characters and chooses the selected one when I release my finger. If I just click normally, it selects the default character.
Is there such a widget in the Android SDK, or can anyone give a hint on how to implement such a component.
See screenshot: Entering text, and just long pressed the "12#" button. "!" is currently selected.