android - Unclickable EditText in Tabactivity on 4.2.2 -
this on of application activities, tabactivity
views , tabhost inside,
its works fine on android 2.2 devices,but in 4.2.2 have problem, when try click on edittext, nothing heppens doesn't receive focus , can't modify it, idea
did try forcing focus , opening keyboard? this?
edit_text.setonfocuschangelistener(new onfocuschangelistener() { @override public void onfocuschange(view v, boolean hasfocus) { if(hasfocus){ ((inputmethodmanager)getsystemservice(context.input_method_service)) .showsoftinput(edit_text, inputmethodmanager.show_forced); }else toast.maketext(getapplicationcontext(), "lost focus", 2000).show(); } });
check out post edittext force focus hope helps
Comments
Post a Comment