This allows to only do inflate + measure and not to render. Change-Id: I4be08513728b656f699e9115e14cf618d95b538a