Support layout "injection" on activities.