We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have troble making game with andengine. And the game root-activity is LayoutGameActivity.
in MainActivity.java
@OverRide public void onClick(ButtonSprite pButtonSprite, float pTouchAreaLocalX, float pTouchAreaLocalY) { // TODO Auto-generated method stub
if(pButtonSprite.equals(btn)) { this.runOnUiThread(new Runnable(){
@OverRide public void run() { // TODO Auto-generated method stub EditText edit_text=(EditText)findViewById(R.id.edit_text); edit_text.setVisibility(View.VISIBLE); }
});
} }
<org.andengine.opengl.view.RenderSurfaceView android:id="@+id/xmllayoutexample_rendersurfaceview" android:layout_width="fill_parent" android:layout_height="fill_parent"/>
and as you know, I added the 'EditText' in main.xml .And in game, I want to EditText to visible.
But the edittext is not visible.Though the virtual-keyboard pop-up, the edittext is not visible.
And I attach the video of this problem.
www.youtube.com/watch?v=gj8FmEUBvaY
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have troble making game with andengine. And the game root-activity is LayoutGameActivity.
in MainActivity.java
@OverRide
public void onClick(ButtonSprite pButtonSprite, float pTouchAreaLocalX,
float pTouchAreaLocalY) {
// TODO Auto-generated method stub
if(pButtonSprite.equals(btn))
{
this.runOnUiThread(new Runnable(){
@OverRide
public void run() {
// TODO Auto-generated method stub
EditText edit_text=(EditText)findViewById(R.id.edit_text);
edit_text.setVisibility(View.VISIBLE);
}
});
}
}
in main.xml
<org.andengine.opengl.view.RenderSurfaceView
android:id="@+id/xmllayoutexample_rendersurfaceview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
and as you know, I added the 'EditText' in main.xml .And in game, I want to EditText to visible.
But the edittext is not visible.Though the virtual-keyboard pop-up, the edittext is not visible.
And I attach the video of this problem.
www.youtube.com/watch?v=gj8FmEUBvaY
The text was updated successfully, but these errors were encountered: