I have an EditText and a Button in LinearLayout. When clicked to button, I am removing all views in layout and adding another view. When back button is pressed I am removing all views and adding editText and Button again. Now when I touch on editText, keyboard does not become visible! I think maybe it is a focus issue. How can handle this problem?
I have an EditText and a Button in LinearLayout. When clicked to button, I
Share
Try this code, it will work for you.