Android Studio verstecken linearlayout

LinearLayout one = (LinearLayout) findViewById(R.id.one);
one.setVisibility(View.GONE);
Concerned Centipede