Refactorings: extrated inflater code from InflatedLayout objects