summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AlbumSetPage.java
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@cyanogenmoditalia.it>2016-06-01 14:04:38 +0200
committerArne Coucheron <arco68@gmail.com>2017-07-31 00:38:16 +0200
commita0dc1b87de08a5462396a750baa77827ee14f754 (patch)
treef4f5d9f4dae0594f759fbec1618aebab952054af /src/com/android/gallery3d/app/AlbumSetPage.java
parentae2d5c13ce7847275b35a82074b07cf67ab59cee (diff)
downloadandroid_packages_apps_Gallery2-a0dc1b87de08a5462396a750baa77827ee14f754.tar.gz
android_packages_apps_Gallery2-a0dc1b87de08a5462396a750baa77827ee14f754.tar.bz2
android_packages_apps_Gallery2-a0dc1b87de08a5462396a750baa77827ee14f754.zip
Gallery2: Replace hamburger menu with bottom bar
Change-Id: I20caa58fe11ee6f4148cb0bcb0ccbcdcf3a9612e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumSetPage.java')
-rwxr-xr-xsrc/com/android/gallery3d/app/AlbumSetPage.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/AlbumSetPage.java b/src/com/android/gallery3d/app/AlbumSetPage.java
index 09b095fd0..31872309c 100755
--- a/src/com/android/gallery3d/app/AlbumSetPage.java
+++ b/src/com/android/gallery3d/app/AlbumSetPage.java
@@ -700,12 +700,12 @@ public class AlbumSetPage extends ActivityState implements
//mActionBar.disableClusterMenu(true);
mActionModeHandler.startActionMode();
performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
- ((GalleryActivity)mActivity).toggleNavDrawer(false);
+ ((GalleryActivity)mActivity).toggleNavBar(false);
break;
}
case SelectionManager.LEAVE_SELECTION_MODE: {
mActionModeHandler.finishActionMode();
- ((GalleryActivity)mActivity).toggleNavDrawer(true);
+ ((GalleryActivity)mActivity).toggleNavBar(true);
/*if (mShowClusterMenu) {
mActionBar.enableClusterMenu(mSelectedAction, this);
}*/
@@ -731,11 +731,13 @@ public class AlbumSetPage extends ActivityState implements
mDetailsHelper.hide();
mAlbumSetView.setHighlightItemPath(null);
mSlotView.invalidate();
+ ((GalleryActivity)mActivity).toggleNavBar(true);
}
private void showDetails() {
mShowDetails = true;
if (mDetailsHelper == null) {
+ ((GalleryActivity)mActivity).toggleNavBar(false);
mDetailsHelper = new DetailsHelper(mActivity, mRootPane, mDetailsSource);
mDetailsHelper.setCloseListener(new CloseListener() {
@Override