黄江工业厂房装修设计
-
¥89.00
办公室地板砖的选择一般要求耐磨、易清洁、耐脏、不易变色,常用的有瓷砖、大理石、大理石砖、木地板、塑料地板等。瓷砖是常用的,因为其耐磨、易清洁,且价格实惠;木地板温暖,可以增加办公室的舒适感;塑料地板可以防止水渗透,但一般会有一定的噪音;大理石砖有着不菲的价格,但具有很强的质感。
工程
The electrical circuit installation engineering includes the following steps:
1、安装前准备:检查电路图,核对材料和工具,确定安装位置,清理安装位置;
2、安装控制回路:根据电路图安装开关、按钮、插座等,安装控制线;
3、安装配电回路:根据电路图安装路由器、插座、继电器等,安装配电线;
4、安装电力回路:根据电路图安装电机、电动机、电磁阀等,安装电力线;
5、安装检修:检查各组件安装是否正确,线路接线是否正确,整个系统是否正常工作。
GridLayout gridLayout = new GridLayout(this);
gridLayout.setColumnCount(3);
gridLayout.setRowCount(3);
//中间按钮
Button btn = new Button(this);
btn.setText("Hello GridLayout");
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Toast.makeText(GridLayoutActivity.this,"Hello GridLayout",Toast.LENGTH_SHORT).show();
}
});
gridLayout.addView(btn,new GridLayout.LayoutParams(GridLayout.spec(1,2), GridLayout.spec(1,2)));
//其他按钮
for(int i = 0;i < 9;i++)
{
Button btnOther = new Button(this);
btnOther.setText("Button" + i);
btnOther.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Toast.makeText(GridLayoutActivity.this,"Button",Toast.LENGTH_SHORT).show();
}
});
GridLayout.Spec rowSpec = GridLayout.spec(i / 3);
GridLayout.Spec columnSpec = GridLayout.spec(i % 3);
GridLayout.LayoutParams params = new GridLayout.LayoutParams(rowSpec,columnSpec);
params.setMargins(1);
gridLayout.addView(btnOther,params);
}
setContentView(gridLayout);
}
}