Did you actually check if inflate is slow? As far as I know, 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 (that’s why you cannot inflate a view from an XML generated at runtime).