Commit 562c2d3d authored by kenan's avatar kenan

requestFocus

parent 136af1fb
...@@ -289,6 +289,7 @@ public class YGOMobileActivity extends NativeActivity implements ...@@ -289,6 +289,7 @@ public class YGOMobileActivity extends NativeActivity implements
// getWindow().setLayout(w, h); // getWindow().setLayout(w, h);
// getWindow().setGravity(Gravity.CENTER); // getWindow().setGravity(Gravity.CENTER);
super.setContentView(layout); super.setContentView(layout);
mSurfaceView.requestFocus();
getWindow().takeSurface(null); getWindow().takeSurface(null);
getWindow().takeInputQueue(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