myTextView.setLayoutParams(new ViewGroup.LayoutPar...

myTextView.setLayoutParams(new ViewGroup.LayoutParams(0, 0));