Removing empty views from layouts with details.