Android Studio Hide Linearlayout

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