* commit '4fec974c2f75886516509699ccfc0100b029fe4d': TextViews keep focus after Done
This commit is contained in:
@@ -3799,7 +3799,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// This is the handling for some default action.
|
||||
// Note that for backwards compatibility we don't do this
|
||||
// default handling if explicit ime options have not been given,
|
||||
@@ -3830,7 +3830,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
if (imm != null && imm.isActive(this)) {
|
||||
imm.hideSoftInputFromWindow(getWindowToken(), 0);
|
||||
}
|
||||
clearFocus();
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -3852,7 +3851,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
| KeyEvent.FLAG_EDITOR_ACTION)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set the private content type of the text, which is the
|
||||
* {@link EditorInfo#privateImeOptions EditorInfo.privateImeOptions}
|
||||
|
||||
Reference in New Issue
Block a user