summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-08-14 21:25:18 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-14 21:25:18 +0000
commita044ee9746c40ec003ba5a96bea91abd7cee2bb5 (patch)
tree91ccc8465bffa297ac2d1910ac504029179ede70
parent9530962f09e4ef5cefd81cb3cbc5cff2a6e5b818 (diff)
parent58e2f6effa634e853d521f57d284c248adc69057 (diff)
downloadandroid_packages_apps_Gallery2-a044ee9746c40ec003ba5a96bea91abd7cee2bb5.tar.gz
android_packages_apps_Gallery2-a044ee9746c40ec003ba5a96bea91abd7cee2bb5.tar.bz2
android_packages_apps_Gallery2-a044ee9746c40ec003ba5a96bea91abd7cee2bb5.zip
Merge "fix RGB text" into gb-ub-photos-carlsbad
-rw-r--r--res/layout-land/filtershow_editor_panel.xml3
-rw-r--r--res/layout/filtershow_seekbar.xml3
-rw-r--r--src/com/android/gallery3d/filtershow/editors/Editor.java8
-rw-r--r--src/com/android/gallery3d/filtershow/editors/EditorCurves.java6
4 files changed, 11 insertions, 9 deletions
diff --git a/res/layout-land/filtershow_editor_panel.xml b/res/layout-land/filtershow_editor_panel.xml
index fc3246826..cafafde1b 100644
--- a/res/layout-land/filtershow_editor_panel.xml
+++ b/res/layout-land/filtershow_editor_panel.xml
@@ -117,7 +117,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- style="@style/FilterShowSlider"/>
+ style="@style/FilterShowSlider"
+ android:visibility="gone"/>
</LinearLayout>
diff --git a/res/layout/filtershow_seekbar.xml b/res/layout/filtershow_seekbar.xml
index 6463ca8e1..54a874d07 100644
--- a/res/layout/filtershow_seekbar.xml
+++ b/res/layout/filtershow_seekbar.xml
@@ -26,6 +26,7 @@
android:id="@+id/primarySeekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- style="@style/FilterShowSlider" />
+ style="@style/FilterShowSlider"
+ android:visibility="gone" />
</LinearLayout>
diff --git a/src/com/android/gallery3d/filtershow/editors/Editor.java b/src/com/android/gallery3d/filtershow/editors/Editor.java
index 5651970af..c0d499c65 100644
--- a/src/com/android/gallery3d/filtershow/editors/Editor.java
+++ b/src/com/android/gallery3d/filtershow/editors/Editor.java
@@ -117,13 +117,7 @@ public class Editor implements OnSeekBarChangeListener, SwapButton.SwapButtonLis
R.layout.filtershow_seekbar, (ViewGroup) editControl, true);
mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar);
mSeekBar.setOnSeekBarChangeListener(this);
-
- if (showsSeekBar()) {
- mSeekBar.setOnSeekBarChangeListener(this);
- mSeekBar.setVisibility(View.VISIBLE);
- } else {
- mSeekBar.setVisibility(View.INVISIBLE);
- }
+ mSeekBar.setVisibility(View.GONE);
if (mButton != null) {
if (showsPopupIndicator()) {
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorCurves.java b/src/com/android/gallery3d/filtershow/editors/EditorCurves.java
index 83fbced79..c9f57f418 100644
--- a/src/com/android/gallery3d/filtershow/editors/EditorCurves.java
+++ b/src/com/android/gallery3d/filtershow/editors/EditorCurves.java
@@ -30,6 +30,12 @@ public class EditorCurves extends Editor {
public EditorCurves() {
super(ID);
+ int k =R.menu.filtershow_menu_curves;
+ }
+
+ @Override
+ protected void updateText() {
+
}
@Override