Hi,

imagine I have the follow methods:

    @Override
    protected void onCreate(final Bundle savedInstanceStace){
        super.onCreate(savedInstanceStace);
        setContentView(R.layout.main);

        configLayout();
    }

   private void configLayout(){
        MenuFragment menuFrag = new MenuFragment();

        FragmentTransaction transaction =
getSupportFragmentManager().beginTransaction();

        if (findViewById(R.id.main)!=null){
            transaction.add(R.id.main, menuFrag);
        }else{
            transaction.add(R.id.menu, menuFrag);
            transaction.add(R.id.content, new ContentFragment());
        }

        transaction.commit();
    }

How I can print something like this?

onCreate
    onCreate
    setContentView
    configLayout
         MenuFragment
         getSupportFragmentManager
         beginTransaction
         findViewById
         add
         add
         add

ps: I need this for debug propose, mainly.

txs.
-- 
Adorilson Bezerra
Mestrando em Engenharia de Software

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to