Commit 562c2d3d authored by kenan's avatar kenan

requestFocus

parent 136af1fb
......@@ -289,6 +289,7 @@ public class YGOMobileActivity extends NativeActivity implements
// getWindow().setLayout(w, h);
// getWindow().setGravity(Gravity.CENTER);
super.setContentView(layout);
mSurfaceView.requestFocus();
getWindow().takeSurface(null);
getWindow().takeInputQueue(null);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment