Hi,
How can I add & delete view from a Layout?
Warm Regards,
CB
Hi,
How can I add & delete view from a Layout?
Warm Regards,
CB
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);
Ive done it like so
((ViewManager)entry.getParent()).removeView(entry);