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 alternative to the ListPreference class #15

Closed ijdoc closed 12 years ago

ijdoc commented 12 years ago

This can be implemented either as a separate class or as a separate static call fixing the z-order like with the AlertDialog class.

elyas-bhy commented 12 years ago

The ListPreference menu is rendered on top of the navigation keyboard, thus making it inaccessible. Screenshot: http://i40.servimg.com/u/f40/11/80/20/95/lp10.png

rishabhjain08 commented 12 years ago

Added a custom accessible ListPreference. Commit f0488eb closes this issue.

rishabhjain08 commented 12 years ago

Procedure to use custom ListPreference :

  1. Change the tag in your xml layout file to the fully qualified custom ListPreference class name. For eg., if the location of the custom ListPreference class inside your src folder is /ca/idi/tecla/lib/ListPreference.java than you should replace tags with
  2. Import the custom ListPreference class instead of importing android.preference.ListPreference in your code.
ijdoc commented 12 years ago

Excellent! Can you please merge 'reflection' into 'devel'? I will test everything there and merge it all into master once I finish tidying up the documentation.