@Override protected void onDisplay(Bundle savedInstanceState, PluginController controller) { mController = (MapMainController) controller; mModel = (MapModel) controller.getModel(); mLayout = new StandardLayout(this); mLayout.setText(getString(R.string.map_searching)); setContentView(mLayout); LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE); mLayout.addView(inflater.inflate(R.layout.map_search_result, null)); setActionBarTitle(getString(R.string.map_plugin_title)); }