title: DrawerLayout getting stuck on swipe
body: <p>I am playing around with DrawerLayout and I am encountering an issue. Basically sometimes when i swipe from the edge of the screen the DrawerLayout will get stuck until i lift my finger off the screen (See screenshot below)</p>
  
  <p>I am not sure what is up, I followed the code sample from the google sdk exactly. Any ideas?</p>
  
  <p><img src="https://i.stack.imgur.com/MKryR.png" alt="Screenshot bug"></p>
  
  <p>And here is the only thing i have in my FragmentActivity:</p>
  
  <pre><code>@Override
      protected void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          final String[] names =
                  getResources().getStringArray(R.array.nav_names);
          ArrayAdapter&lt;String&gt; adapter =
                  new ArrayAdapter&lt;String&gt;(
                          getActionBar().getThemedContext(),
                          android.R.layout.simple_list_item_1, names);
  
          final DrawerLayout drawer =
                  (DrawerLayout)findViewById(R.id.drawer_layout);
          final ListView navList =
                  (ListView) findViewById(R.id.drawer);
          navList.setAdapter(adapter);
          navList.setOnItemClickListener(new AdapterView.OnItemClickListener()
          {
  
              @Override
              public void onItemClick(AdapterView&lt;?&gt; parent,
                                      View view, final int pos, long id)
              {
                  drawer.setDrawerListener(
                          new DrawerLayout.SimpleDrawerListener()
                          {
                              @Override
                              public void onDrawerClosed(View drawerView)
                              {
                                  super.onDrawerClosed(drawerView);
  
                              }
                          });
                  drawer.closeDrawer(navList);
              }
          });
  
      }
  </code></pre>
  
  <hr>
  
  <p>EDIT:I'm adding a bounty on this, as this is a very old issue that exists even today with the latest Android-X (sample available <a href="http://s000.tinyupload.com/index.php?file_id=18051838715030434547" rel="nofollow noreferrer"><strong>here</strong></a>). Here's how it looks:</p>
  
  <p><a href="https://i.stack.imgur.com/cD1z6.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cD1z6.gif" alt="enter image description here"></a></p>
  
  <p>I've reported about it to Google (<a href="https://issuetracker.google.com/issues/37084065" rel="nofollow noreferrer"><strong>here</strong></a> and later again <a href="https://issuetracker.google.com/issues/37126887" rel="nofollow noreferrer"><strong>here</strong></a>), but it didn't help. </p>
  
  <p>I've tried all existing solutions here on this thread, and none worked. If anyone has a good workaround for this (while still using DrawerLayout or extending it, or something similar), please put a working solution.</p>