Me auto respondo, Lo he hecho a traves del main, os dejo el codigo por si os sirve.
Código:
public class Main extends Activity {
private AnimationDrawable mauriAnimation;
private AnimationDrawable carolAnimation;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
ImageView imageMauri = (ImageView) findViewById(R.id.btnMauri);
mauriAnimation=(AnimationDrawable) imageMauri.getDrawable();
ImageView imageCarol = (ImageView) findViewById(R.id.btnCarol);
carolAnimation=(AnimationDrawable) imageCarol.getDrawable();
}
@Override
public void onWindowFocusChanged(boolean hasFocus) {
super.onWindowFocusChanged(hasFocus);
mauriAnimation.start();
carolAnimation.start();
}
public void gameplayermauri(View view) {
Intent intentGameMauri = new Intent(this, GamePlayerMauri.class);
startActivity(intentGameMauri);
}
public void gameplayercarol(View view) {
Intent intentGameCarol = new Intent(this, GamePlayerCarol.class);
startActivity(intentGameCarol);
}
}