'margine'에 해당되는 글 1건

  1. 2011.05.27 Android - view set margin in code
posted by Solver Full-stack Developer 2011.05.27 15:23

LinearLayout.LayoutParams lp=new LinearLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.FILL_PARENT);
lp.setMargins(left, top, right, bottom); 
view
.setLayoutParams(lp);
신고