[Android] MainActivity: hide the menu when something's selected

Edward Wang git at videolan.org
Sun Aug 12 04:28:05 CEST 2012


android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Aug 11 20:14:07 2012 -0400| [2213bc1c570d151a6cd51fe940c867d54b8b929c] | committer: Edward Wang

MainActivity: hide the menu when something's selected

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=2213bc1c570d151a6cd51fe940c867d54b8b929c
---

 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 560c813..4ecd71a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -173,6 +173,7 @@ public class MainActivity extends SherlockFragmentActivity {
                 ft.attach(mSidebarAdapter.getFragment(entry.id));
                 ft.commit();
                 mCurrentFragment = entry.id;
+                mMenu.showAbove();
             }
         });
 



More information about the Android mailing list