Como encontrar o root ViewGroop
ViewGroup view = (ViewGroup) findViewById(android.R.id.content);
Nimorum
ViewGroup view = (ViewGroup) findViewById(android.R.id.content);