Android Studio Hide LinearLayout

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