[Android] Close drawer on menu item click

Geoffrey Métais git at videolan.org
Tue Nov 25 11:46:47 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Nov 24 16:07:32 2014 +0100| [8b234475d5d01f585ba28db55dbde9c2e8b73471] | committer: Jean-Baptiste Kempf

Close drawer on menu item click

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8b234475d5d01f585ba28db55dbde9c2e8b73471
---

 vlc-android/src/org/videolan/vlc/gui/MainActivity.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index c97783c..74540d9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -684,6 +684,7 @@ public class MainActivity extends ActionBarActivity {
                 MediaDatabase.getInstance().clearSearchHistory();
                 break;
         }
+        mRootContainer.closeDrawer(mListView);
         return super.onOptionsItemSelected(item);
     }
 



More information about the Android mailing list