diff options
author | nicolasroard <nicolasroard@google.com> | 2013-03-25 21:08:47 -0700 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-03-25 21:08:47 -0700 |
commit | 175fc2198c8ff313fa90f0c37d09d80fa0c604cb (patch) | |
tree | bad8fff991a3a9fff182b29044455df3609feb73 /src/com/android/gallery3d/filtershow/editors/EditorCrop.java | |
parent | 8737bd93a989cc5608065b13f0682f60a6e18e27 (diff) | |
download | android_packages_apps_Snap-175fc2198c8ff313fa90f0c37d09d80fa0c604cb.tar.gz android_packages_apps_Snap-175fc2198c8ff313fa90f0c37d09d80fa0c604cb.tar.bz2 android_packages_apps_Snap-175fc2198c8ff313fa90f0c37d09d80fa0c604cb.zip |
Hides seekbar in some editors
Change-Id: Ifce385f9a6bf9b741f0873f49d826fbcf453d97c
Diffstat (limited to 'src/com/android/gallery3d/filtershow/editors/EditorCrop.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/editors/EditorCrop.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorCrop.java b/src/com/android/gallery3d/filtershow/editors/EditorCrop.java index 947fccb82..df922f10a 100644 --- a/src/com/android/gallery3d/filtershow/editors/EditorCrop.java +++ b/src/com/android/gallery3d/filtershow/editors/EditorCrop.java @@ -17,6 +17,7 @@ package com.android.gallery3d.filtershow.editors; import android.content.Context; +import android.view.View; import android.widget.FrameLayout; import com.android.gallery3d.R; @@ -61,6 +62,11 @@ public class EditorCrop extends Editor implements EditorInfo { } @Override + public boolean showsSeekBar() { + return false; + } + + @Override public int getTextId() { return R.string.crop; } |