Merge pull request #8379 from osmandapp/Fix_7970_poi_note_keyboard
Fix #7970 OSM Note text box no longer focused automatically
This commit is contained in:
commit
1670e4021a
1 changed files with 1 additions and 0 deletions
|
@ -450,6 +450,7 @@ public class OsmBugsLayer extends OsmandMapLayer implements IContextMenuProvider
|
||||||
if (!Algorithms.isEmpty(text)) {
|
if (!Algorithms.isEmpty(text)) {
|
||||||
((EditText) view.findViewById(R.id.message_field)).setText(text);
|
((EditText) view.findViewById(R.id.message_field)).setText(text);
|
||||||
}
|
}
|
||||||
|
view.findViewById(R.id.message_field).requestFocus();
|
||||||
AndroidUtils.softKeyboardDelayed(view.findViewById(R.id.message_field));
|
AndroidUtils.softKeyboardDelayed(view.findViewById(R.id.message_field));
|
||||||
|
|
||||||
final AlertDialog.Builder builder = new AlertDialog.Builder(activity);
|
final AlertDialog.Builder builder = new AlertDialog.Builder(activity);
|
||||||
|
|
Loading…
Reference in a new issue