I'm making an app and almost everything in it (The textboxes, menus, textviews) are created and shown programmatically.
When I have to show different content, I delete everything in the view and load the new textboxes, menus etc.
Is it better to create a new view each time?
Not, that much.
You have to maintain visibility of all components
If you can maintain all components than not needed otherwise you have to create.
AND
Found here ,Inflating view is very fast (almost as fast as creating views manually).
It might be surprising for you to hear but inflate in fact does not parse the XMLs at all. XMLs for layout are parsed and pre-processed at compile time - they are stored in a binary form which makes view inflation very efficient.