Add & delete view from Layout
Use ViewStub and specify the layout of the view you want to toggle. To view:
mViewStub.setVisibility(View.VISIBLE) or mViewStub.inflate();
To disappear:
mViewStub.setVisibility(View.GONE);
I've done it like so:
((ViewManager)entry.getParent()).removeView(entry);