Comment afficher TabActivity dans AlertDialog? Je sais que c'est un peu difficile, car nous devrions exécuter TabActivity comme activité normale,Android TabActivity dans AlertDialog
par exemple.
Intent intent = new Intent(MyClass.this, Settings.class);
startActivity(intent);
où Paramètres - TabActvivity.
La seule façon dont je le sais pour définir la vue pour AlertDialog, mais cela ne fonctionnera pas.
View view = (View) ((LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE))
.inflate(R.layout.settings, null);
new AlertDialog.Builder(this).setTitle("AlertDialog").setView(view).show();
Est-il possible d'afficher TabActivity dans AlertDialog?
Merci,
Si j'ai une vue inflator alors comment puis-je passer ID à setContent? – chhameed