(Bundle savedInstanceState)
| 208 | } |
| 209 | |
| 210 | @Override |
| 211 | public void onCreate(Bundle savedInstanceState) { |
| 212 | load(); |
| 213 | super.onCreate(savedInstanceState); |
| 214 | setupEntry(); |
| 215 | updateTheme(getResources().getConfiguration()); |
| 216 | |
| 217 | View view = findViewById(android.R.id.content).getRootView(); |
| 218 | view.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { |
| 219 | public void onLayoutChange(View v, int left, int top, int right, int bottom, |
| 220 | int oldLeft, int oldTop, int oldRight, int oldBottom) { |
| 221 | GoNativeActivity.this.updateLayout(); |
| 222 | } |
| 223 | }); |
| 224 | |
| 225 | mScaleDetector = new ScaleGestureDetector(this, new ScaleGestureListener()); |
| 226 | } |
| 227 | |
| 228 | private void setupEntry() { |
| 229 | runOnUiThread(new Runnable() { |
nothing calls this directly
no test coverage detected