Hi , im porting my cocos2dx game to android, I’m creating ebox and adding to CCLayer. On android phone (htc desire z, android 2.3.3.) simulator 4.02, 4.1.2 etc. CCeditBox displays
one random (??) single digit on the center of the edit box. I cannot remove it, i dont know what is it:)). On IOS there is no such problem.
I’m using cocos2d rc0 2.1.2. Screen is in attachement
my code:
CCEditBox *ebox = CCEditBox::create(CCSizeMake(200, 30),spr);
ebox~~>setPosition.width/2, dialog~~>getContentSize().height/2));
ebox~~>setText);
ebox~~>setMaxLength(cbEditBoxMaxSize);
ebox~~>setPlaceHolder;
ebox~~>setTag(cbEditBoxTag);
android1.jpg (117.6 KB)
android2.jpg (93.5 KB)