Pergunta

I have an Android App that uses a TabHost layout; every tab calls the same Activity on which there is a ListView that loads data from a DB. Everything runs fine but the problem is that when the user click a ListView item and i call an intent to load, the new activity goes "full screen" and hides the TabHost. I call the new intent in this way:

Intent i=new Intent(this, MyActivity.class);
startActivity(i);

I would like to maintain visibility of TabHost even if i change Activity, can anyone help me?

Thanks in advance c.

Foi útil?

Solução

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top