diff options
Diffstat (limited to 'src/com/android/camera/GalleryPicker.java')
-rw-r--r-- | src/com/android/camera/GalleryPicker.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/camera/GalleryPicker.java b/src/com/android/camera/GalleryPicker.java index b0f8531..7c063d3 100644 --- a/src/com/android/camera/GalleryPicker.java +++ b/src/com/android/camera/GalleryPicker.java @@ -203,7 +203,7 @@ public class GalleryPicker extends Activity { // "Slide Show" if ((mAdapter.getIncludeMediaTypes(position) & ImageManager.INCLUDE_IMAGES) != 0) { - menu.add(0, 207, 0, R.string.slide_show) + menu.add(R.string.slide_show) .setOnMenuItemClickListener(new OnMenuItemClickListener() { public boolean onMenuItemClick(MenuItem item) { return onSlideShowClicked(menuInfo); @@ -211,7 +211,7 @@ public class GalleryPicker extends Activity { }); } // "View" - menu.add(0, 208, 0, R.string.view) + menu.add(R.string.view) .setOnMenuItemClickListener(new OnMenuItemClickListener() { public boolean onMenuItemClick(MenuItem item) { return onViewClicked(menuInfo); @@ -732,7 +732,8 @@ public class GalleryPicker extends Activity { MenuHelper.addCaptureMenuItems(menu, this); - menu.add(0, 0, 5, R.string.camerasettings) + menu.add(Menu.NONE, Menu.NONE, MenuHelper.POSITION_GALLERY_SETTING, + R.string.camerasettings) .setOnMenuItemClickListener(new OnMenuItemClickListener() { public boolean onMenuItemClick(MenuItem item) { Intent preferences = new Intent(); |