我正在使用带有叠加层的mapview,在这里我选择叠加层项目它显示特定叠加层项目的信息......现在我想在点击窗口一侧时关闭信息框..这里是我的示例代码..
popUp = getLayoutInflater().inflate(R.layout.village_popupwindow, null,
false);
final GeoPoint selectedPoint = item.getPoint();
mapParams = new MapView.LayoutParams(500, 300, selectedPoint,130, -200, MapView.LayoutParams.CENTER);
mapView.addView(popUp, mapParams);
ImageView imageView = (ImageView) findViewById(R.id.homeImage);
TextView textTitle = (TextView) popUp.findViewById(R.id.text_title);
TextView adress = (TextView) popUp.findViewById(R.id.text_plan);
textTitle.setText(arrayListForAmenitiesDto.get(storeId).getName());
adress.setText("Read more...");
任何人都知道如何关闭此弹出式布局?...不使用弹出式布局中的关闭按钮...我只想关闭弹出式布局,同时单击 popuplayout 之外。