load layouts from res and load layouts inside layouts