Hello Developers,
I am using ui::EditBox in my game.
But unfortunately for android, they keyboard doesn’t take the enter as it’s taking in other android device keyboards.
Instead, Sony Xperia series of devices are giving problems as they take the enter key as newline.
I see a lot of guys are facing the same issue in the forum and suggested to use KeyboardReturnType::SEND
but it’s not working for me.
How to resolve this issue, because without that players cant enter the game.
This is an URGENT issue.
Appreciate your support. 
any of you guys faced this issue …!!
@catch_up @slackmoehrle @siddharthshekar @rajan @SonarSystems
Could you show the full code please.
this->_editBox = ui::EditBox::create(Size(500, 100), "PMHomeScene/profile_bar.png");
this->_editBox->setFontName("fonts/Marker Felt.ttf");
this->_editBox->setPosition(Vec2(origin.x + visibleSize.width/2, origin.y + visibleSize.height*3/4));
this->_editBox->setFontColor(Color3B::BLACK);
this->_editBox->setPlaceholderFontColor(Color3B::BLACK);
this->_editBox->setMaxLength(15);
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
this->_editBox->setReturnType(ui::EditBox::KeyboardReturnType::DONE);
#else
this->_editBox->setReturnType(ui::EditBox::KeyboardReturnType::SEND);
#endif
this->_editBox->setDelegate(this);
this->_editBox->touchDownAction(this->_editBox, Widget::TouchEventType::ENDED);
this->_popUpBox->addChild(this->_editBox);
The above mentioned is the code that I have implemented for editbox.
yes, for ios only one keyboard is there…
so, done works fine.
but in some android devices (Sony Xperia devices specifically)
it is giving issues