title: ClickListener for Slide Menu items
body: <p>I defined a layout view in a .xml file called profile_sliding_menu.xml:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:focusableInTouchMode=&quot;true&quot;
      android:orientation=&quot;vertical&quot; &gt;
  
      &lt;View
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;1dp&quot;
          android:background=&quot;#b5b5b5&quot; /&gt;
  
      &lt;TextView
          android:id=&quot;@+id/pMenuProfileInformation&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:drawableLeft=&quot;@drawable/ic_profile_information&quot;
          android:drawablePadding=&quot;5dp&quot;
          android:gravity=&quot;center&quot;
          android:paddingLeft=&quot;5dp&quot;
          android:paddingTop=&quot;3dp&quot;
          android:clickable=&quot;true&quot;
          android:text=&quot;@string/pMenuProfileInformation&quot;
          android:textAppearance=&quot;?android:attr/textAppearanceMedium&quot; /&gt;
  
      ..........
  
  &lt;/LinearLayout&gt;
  </code></pre>
  <p>I'm creating the SlidingMenu from code:</p>
  <pre class="lang-java prettyprint-override"><code>SlidingMenu menu;
  menu = new SlidingMenu(this);
  menu.setMode(SlidingMenu.LEFT);
  menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
  menu.setShadowWidthRes(R.dimen.shadow_width);
  menu.setShadowDrawable(R.drawable.shadow);
  menu.setBehindOffsetRes(R.dimen.slidingmenu_offset);
  menu.setFadeDegree(0.35f);
  menu.attachToActivity(this, SlidingMenu.SLIDING_CONTENT);
  menu.setMenu(R.layout.profile_sliding_menu);
  </code></pre>
  <p>It shows perfectly the menu, but i want to do some actions when the user chooses an option from the menu.
  How can i access that buttons and assign them a event?</p>
  <p>Thanks!</p>