title: How to minimize sliding menu after clicking an button
body: <p>I'm using <a href="https://github.com/jfeinstein10/SlidingMenu" rel="nofollow noreferrer">https://github.com/jfeinstein10/SlidingMenu</a> this SlidingMenu. I have a simple problem, I want to slide the menu to the left side after clicking a button on the Slidemenu. I used the sample program from jfeinstein10 and changed it for my usage.</p>
  
  <p>Here are pictures.</p>
  
  <p><a href="https://i.stack.imgur.com/SXR2z.jpg" rel="nofollow noreferrer">Picture</a></p>
  
  <p><img src="https://i.stack.imgur.com/SXR2z.jpg" alt="enter image description here"></p>
  
  <p>If you still have questions write them down pls. Thx for help.</p>
  
  <pre><code>public class AnmeldenFragment extends SherlockFragment {
      @Override
      public View onCreateView(LayoutInflater inflater, 
         ViewGroup container, Bundle savedInstanceState) {
  
  
          View view =  inflater.inflate(R.layout.activity_anmelden, container, false);
          return view;
     }
  }
  </code></pre>
  
  <p>this is my Fragment and I want to close the Slide menu after return view. It shows the new Fragment but it dont close the slide menu.</p>