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 | 91be98c35f6c5f19d7629bb29e7261970b2f4c67 (patch) | |
tree | 4b8b158eff0d99273875b877f5df9949e0d3dc41 /src/com/android/gallery3d/filtershow/editors/EditorCrop.java | |
parent | 0dd47d9e60cc94f30253a656ec893347160832de (diff) | |
download | android_packages_apps_Gallery2-91be98c35f6c5f19d7629bb29e7261970b2f4c67.tar.gz android_packages_apps_Gallery2-91be98c35f6c5f19d7629bb29e7261970b2f4c67.tar.bz2 android_packages_apps_Gallery2-91be98c35f6c5f19d7629bb29e7261970b2f4c67.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; } |