1.显示
view.setVisibility(View.VISIBLE);
2.隐藏
view.setVisibility(View.VISIBLE);
3.消除
view.setVisibility(View.GONE);
4.生效
view.setEnable(true);
5.失效
view.setEnable(false);
6.覆盖
RelativeLayout布局下,先写的View会盖住后写的View(重叠时)
1.显示
view.setVisibility(View.VISIBLE);
2.隐藏
view.setVisibility(View.VISIBLE);
3.消除
view.setVisibility(View.GONE);
4.生效
view.setEnable(true);
5.失效
view.setEnable(false);
6.覆盖
RelativeLayout布局下,先写的View会盖住后写的View(重叠时)