A window that is shows on screen
public class FlatingViewService extends Service{
public static WindowManager windowManager;
...
windowManager = (WindowManager) getSystemService(WINDOW_SERVICE);
...
//Floating View Layout
li = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);
myView = li.inflate(R.layout.product_response_card, null);
name = (TextView) myView.findViewById(R.id.name);
editTextName = (TextView) myView.findViewById(R.id.editTextName);
...
//Layout Parameters
...
response_card_params.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE;
When user tries to enter some text into editText, Keyboard appears but on top of editText. So the user can't see anything.
What's the actual problem?