이러한 공간을 삭제할 수 있습니다 어떻게 여기 내 방법이며,이 방법의 출력은 내가이 버튼 사이에 공백을 원하지 않는 http://l1304.hizliresim.com/18/f/m1r29.jpg내가 안드로이드
입니다. 내가 어떻게 할 수 있니?
public void butonOlustur(){
TableRow layout1 = (TableRow) findViewById(R.id.tableRow1);
TableRow layout2 = (TableRow) findViewById(R.id.tableRow2);
TableRow layout3 = (TableRow) findViewById(R.id.tableRow3);
TableRow layout4 = (TableRow) findViewById(R.id.tableRow4);
TableRow layout5 = (TableRow) findViewById(R.id.tableRow5);
TableRow[] layouts = new TableRow[6];
layouts[0]=layout1;
layouts[1]=layout2;
layouts[2]=layout3;
layouts[3]=layout4;
layouts[4]=layout5;
Button[][] myButton = new Button[4][25];
for(int j = 0; j <myButton.length; j++){
for(int i =0 ; i <25; i++){
Button temp = new Button(this);
myButton[j][i] = temp;
layouts[j].addView(myButton[j][i], 15, 15);
}
layouts[j] = layouts[j+1];
}
}
[이 내용을] (http://stackoverflow.com/questions/14105631/remest-image-button-padding-android/14105941#14105941) – Ahmad