[Android] Replace SlidingMenu lib by support MenuDrawer

Geoffrey Métais git at videolan.org
Sun Sep 28 07:33:06 CEST 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Sep 25 16:45:59 2014 +0200| [87c7dfce97c97e03d5cfbc70e58fee6730a35999] | committer: Jean-Baptiste Kempf

Replace SlidingMenu lib by support MenuDrawer

MenuDrawer is the menu framework provided by Google in android support library v4.
This removes a dependency on a 3rd party lib.

A remaining issue is that the menu listview is wiped from main layout when audio player is shown,
I had to re-add it once SlidingPanel is opened as a work-around.

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

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

 java-libs/SlidingMenu/.classpath                   |    9 -
 java-libs/SlidingMenu/.project                     |   33 -
 java-libs/SlidingMenu/AndroidManifest.xml          |   11 -
 java-libs/SlidingMenu/LICENSE.txt                  |  202 ----
 java-libs/SlidingMenu/build.xml                    |   92 --
 java-libs/SlidingMenu/libs/android-support-v4.jar  |  Bin 758727 -> 0 bytes
 java-libs/SlidingMenu/pom.xml                      |   51 -
 java-libs/SlidingMenu/project.properties           |   12 -
 .../SlidingMenu/res/layout/slidingmenumain.xml     |    5 -
 java-libs/SlidingMenu/res/values/attrs.xml         |   45 -
 java-libs/SlidingMenu/res/values/ids.xml           |    5 -
 .../slidingmenu/lib/CanvasTransformerBuilder.java  |   95 --
 .../src/com/slidingmenu/lib/CustomViewAbove.java   | 1011 --------------------
 .../src/com/slidingmenu/lib/CustomViewBehind.java  |  431 ---------
 .../src/com/slidingmenu/lib/MenuInterface.java     |   35 -
 .../src/com/slidingmenu/lib/SlidingMenu.java       |  992 -------------------
 .../com/slidingmenu/lib/app/SlidingActivity.java   |  152 ---
 .../slidingmenu/lib/app/SlidingActivityBase.java   |   74 --
 .../slidingmenu/lib/app/SlidingActivityHelper.java |  219 -----
 .../lib/app/SlidingFragmentActivity.java           |  152 ---
 .../slidingmenu/lib/app/SlidingListActivity.java   |  157 ---
 .../lib/app/SlidingPreferenceActivity.java         |  151 ---
 vlc-android/project.properties                     |    3 +-
 vlc-android/res/drawable-hdpi/drawer_shadow.9.png  |  Bin 0 -> 171 bytes
 vlc-android/res/drawable-hdpi/ic_drawer.png        |  Bin 0 -> 2842 bytes
 vlc-android/res/drawable-mdpi/drawer_shadow.9.png  |  Bin 0 -> 158 bytes
 vlc-android/res/drawable-mdpi/ic_drawer.png        |  Bin 0 -> 2837 bytes
 vlc-android/res/drawable-xhdpi/drawer_shadow.9.png |  Bin 0 -> 182 bytes
 vlc-android/res/drawable-xhdpi/ic_drawer.png       |  Bin 0 -> 1056 bytes
 vlc-android/res/layout/main.xml                    |    8 +-
 vlc-android/res/layout/sidebar.xml                 |   26 +-
 vlc-android/res/layout/sliding_menu.xml            |    9 -
 vlc-android/res/values/strings.xml                 |    3 +
 .../src/org/videolan/vlc/gui/MainActivity.java     |   96 +-
 34 files changed, 79 insertions(+), 4000 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=87c7dfce97c97e03d5cfbc70e58fee6730a35999


More information about the Android mailing list