rewrite layoutinflater