MapView.LayoutParams lp; lp = new MapView.LayoutParams(MapView.LayoutParams.WRAP_CONTENT, MapView.LayoutParams.WRAP_CONTENT, 10, 10, MapView.LayoutParams.TOP_LEFT); ImageButton ButtonNowPos = new ImageButton(this); ButtonNowPos.setImageDrawable(getResources().getDrawable(R.drawable.icon)); mapView.addView(ButtonNowPos, lp);
댓글 없음:
댓글 쓰기