package tourguide.tourguidedemo;

import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.widget.Toolbar;
import android.view.Gravity;
import android.view.View;
import android.view.ViewTreeObserver;
import android.widget.TextView;

import tourguide.tourguide.Overlay;
import tourguide.tourguide.Pointer;
import tourguide.tourguide.Sequence;
import tourguide.tourguide.ToolTip;
import tourguide.tourguide.TourGuide;

public class NavDrawerActivity extends ActionBarActivity {
    TextView mTextView1, mTextView2, mTextView3;
    NavDrawerActivity mActivity;
    Sequence mSequence;
    TourGuide mTutorialHandler;
    DrawerLayout mDrawerLayout;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mActivity = this;
        setContentView(R.layout.activity_nav_drawer);

        /* get views from xml */
        mTextView1 = (TextView)findViewById(R.id.item1);
        Toolbar toolbar = (Toolbar)findViewById(R.id.toolbar);
        mDrawerLayout = (DrawerLayout)findViewById(R.id.drawer_layout);

        /* setup toolbar */
        setSupportActionBar(toolbar);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        getSupportActionBar().setHomeButtonEnabled(true);
        getSupportActionBar().setDisplayShowTitleEnabled(false);
        toolbar.setTitle("Nav Drawer Example");
        mTutorialHandler = TourGuide.init(mActivity).with(TourGuide.Technique.Click)
                .setPointer(new Pointer())
                .setToolTip(new ToolTip().setTitle(null).setDescription("hello world"))
                .setOverlay(new Overlay().setBackgroundColor(Color.parseColor("#66FF0000")));

        final ActionBarDrawerToggle mDrawerToggle = new ActionBarDrawerToggle(
                this,  mDrawerLayout, toolbar, R.string.drawer_open_string, R.string.drawer_close_string){
            @Override
            public void onDrawerOpened(View drawerView) {
                super.onDrawerOpened(drawerView);
                mTutorialHandler.playOn(mTextView1);
            }
        };
        mDrawerLayout.setDrawerListener(mDrawerToggle);
        mDrawerToggle.syncState();

        /* setup clean up code */
        mTextView1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                mTutorialHandler.cleanUp();
                mDrawerLayout.closeDrawers();
            }
        });

        final ViewTreeObserver viewTreeObserver = mTextView1.getViewTreeObserver();
        viewTreeObserver.addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
            @Override
            public void onGlobalLayout() {
                mTextView1.getViewTreeObserver().removeGlobalOnLayoutListener(this);// make sure this only run once
                mDrawerLayout.openDrawer(Gravity.LEFT);
            }
        });
    }

}

@@ -1843,24 +1843,25 @@
 F0000%22)));%0A%0A
+%0A
         fina
@@ -2164,16 +2164,177 @@
 rView);%0A
+                /* We need call playOn only after the drawer is opened,%0A                   so that TourGuide knows the updated location of the targetted view */%0A
         

Add simple explanation to example