I have created two tabs, say TAB1 and TAB2. For TAB1, i have loaded one Activity, say ActivityOne, into TAB1 as 

```
Intent intent = new Intent(this,ActivityOne.class);
    TabHost.TabSpec spec = getTabHost().newTabSpec("ActivityOne")
                                       .setIndicator("Activity One",getResources().getDrawable(R.drawable.artists)).setContent(intent);
    getTabHost().addTab(spec);

```

This ActivityOne has extended the ActivityGroup and i added one button in this activity. By clicking on this button it will call another activity, say ActivityOne\_One, as

```
public void onClick(View v) {
            // TODO Auto-generated method stub
            Intent intent = new Intent(ActivityOne.this,ActivityOne_One.class);
            replaceContentView("ActivityOne_One",intent);
        }
public void replaceContentView(String id, Intent intent){
    View view = this.getLocalActivityManager().startActivity(id, intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)).getDecorView();
        this.setContentView(view);
}

```

When we click on that button ActivityOne\_One will be launched under same TAB1. In this application i have two problems:
1) If i want to go back to ActivityOne under same TAB1 by using traditional BACK button on emulator it is not working..
2)ActivityOne\_One is launching with no animation(like sliding from right to left) effect.

If anyone know about any one of these, give your advice..

Thanks,  

venu