android - Unclickable EditText in Tabactivity on 4.2.2 -


this on of application activities, tabactivity views , tabhost inside,

enter image description here

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

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -