RTL/LTR EditTextPreference with run-time input type validation.