Tem um projeto master detail e na lista principal, quero chamar a tela de Preferences que criei.
-- No onCreateView do ItemDetailFragment, eu chamo o inflate para carregar o layout que desejo, de acordo com a opção da lista.
Nesse caso, não tem layout e uso o seguinte código:
Intent i = new Intent(getActivity(), UserSettingActivity.class);
startActivityForResult(i, RESULT_SETTINGS);
Funciona, mas quando fecho a tela de Preferences, fica uma tela em branco e só quando volto, que aparece a tela principal.
Tem como chamar a tela de Preferences, sem carregar essa tela em branco?
Att
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






0 comentários:
Postar um comentário