I have following in my app:
layout/dialog_edit_group.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dlgEditGroup"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<EditText android:id="@+id/txtGroup"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Group Name"
android:inputType="text"
android:singleLine="true"
android:editable="true"/>
my activity (onCreateDialog method):
...
LayoutInflater inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.dialog_edit_group, (ViewGroup) findViewById(R.id.dlgEditGroup));
EditText txtGroup = (EditText) layout.findViewById(R.id.txtGroup);
txtGroup.setFocusable(true);
builder.setView(layout);
return builder.create();
When dialog appears and I try to type text - edit text not updates. Keyboard shows that keys are pressed (I see keyboard hints - I use gingerbread keyboard), but nothing changes in edittext. What I need to do?
UPD: see video with issue: youtu.be/XOSXDSZvisI
WARN/IInputConnectionWrapper(2517): commitText on inactive InputConnection
– newmindcore