KomodoOpenLab / InputAccessLib

InputAccessLib is a library that enhances the compatibility of Android applications with a variety of alternative input devices such as external keyboards, adapted switches, hands-free kits and remote controls.
10 stars 16 forks source link

Add an accessible Spinner class #9

Closed ijdoc closed 12 years ago

ijdoc commented 12 years ago

The spinner (http://developer.android.com/reference/android/widget/Spinner.html) is another widget class that is not accessible to on-screen input methods. This class should be extended to enable full IME access in a way similar to the AlertDialog and Dialog classes already included in the library.

rishabhjain08 commented 12 years ago

To use this custom Spinner change the Spinner tag in the xml layout file to the fully qualified custom Spinner class name. for eg : if the location of custom spinner in your src folder is ca/idi/tecla/lib/Spinner.java change the Spinner tag i.e. to </ca.idi.tecla.lib.Spinner> and use the custom spinner class in your code instead of android.widget.Spinner. will add an example soon

rishabhjain08 commented 12 years ago

Added an example to demonstrate the use of custom Spinner

Inaccessible version: https://github.com/rishabhjain08/demo-inputaccesslib/tree/master/DemoInaccessibleOptionsMenu

Accessible version: https://github.com/rishabhjain08/demo-inputaccesslib/tree/master/DemoAccessibleOptionsMenu