diff --git a/sample/src/main/java/com/theartofdev/edmodo/cropper/sample/MainFragment.java b/sample/src/main/java/com/theartofdev/edmodo/cropper/sample/MainFragment.java index 25dfcec2..ec14515d 100644 --- a/sample/src/main/java/com/theartofdev/edmodo/cropper/sample/MainFragment.java +++ b/sample/src/main/java/com/theartofdev/edmodo/cropper/sample/MainFragment.java @@ -149,7 +149,7 @@ public void onViewCreated(View view, Bundle savedInstanceState) { @Override public boolean onOptionsItemSelected(MenuItem item) { - if (item.getItemId() == R.id.main_action_crop) { + if (item.getItemId() == R.id.main_action_save) { mCropImageView.getCroppedImageAsync(); return true; } else if (item.getItemId() == R.id.main_action_rotate) { diff --git a/sample/src/main/res/menu/main.xml b/sample/src/main/res/menu/main.xml index 35e28a81..5f3d0fe0 100644 --- a/sample/src/main/res/menu/main.xml +++ b/sample/src/main/res/menu/main.xml @@ -21,8 +21,8 @@ diff --git a/sample/src/main/res/values/strings.xml b/sample/src/main/res/values/strings.xml index f52d74a0..25b3efba 100644 --- a/sample/src/main/res/values/strings.xml +++ b/sample/src/main/res/values/strings.xml @@ -32,5 +32,6 @@ Multitouch: %1s Show Overlay: %1s Show Progress Bar: %1s + SAVE