As @Filippo pointed, in android you cannot delete a view (OS normal way of doing things). what you can do is remove a view from its parent. You can then either re-use that view by adding it to a new parent, or let it sit. eventually Android itself will take care of "trashing" the allocated resources.
As @Filippo pointed, in android you cannot delete a view (OS normal way of doing things). what you can do is remove a view from its parent. You can then either re-use that view by adding it to a new parent, or let it sit. eventually Android itself will take care of "trashing" the allocated resources.