summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/editors/EditorDrawTabletUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/editors/EditorDrawTabletUI.java')
-rw-r--r--src/com/android/gallery3d/filtershow/editors/EditorDrawTabletUI.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorDrawTabletUI.java b/src/com/android/gallery3d/filtershow/editors/EditorDrawTabletUI.java
index f4aa2ac90..83d89c9a5 100644
--- a/src/com/android/gallery3d/filtershow/editors/EditorDrawTabletUI.java
+++ b/src/com/android/gallery3d/filtershow/editors/EditorDrawTabletUI.java
@@ -57,6 +57,7 @@ public class EditorDrawTabletUI {
private ColorSVRectView mSatValView;
private ColorOpacityView mOpacityView;
private ColorCompareView mColorCompareView;
+ private TextView mDrawSizeValue;
private int[] mBasColors;
private int mSelected;
@@ -94,7 +95,7 @@ public class EditorDrawTabletUI {
LinearLayout buttonContainer = (LinearLayout) lp.findViewById(R.id.listStyles);
mdrawSizeSeekBar = (SeekBar) lp.findViewById(R.id.drawSizeSeekBar);
- TextView drawSizeValue = (TextView) lp.findViewById(R.id.drawSizeValue);
+ mDrawSizeValue = (TextView) lp.findViewById(R.id.drawSizeValue);
Button clearButton = (Button) lp.findViewById(R.id.clearButton);
clearButton.setOnClickListener(new View.OnClickListener() {
@@ -120,6 +121,8 @@ public class EditorDrawTabletUI {
size = (BasicParameterInt) mRep.getParam(FilterDrawRepresentation.PARAM_SIZE);
size.setValue(progress + size.getMinimum());
mEditorDraw.commitLocalRepresentation();
+ int val = progress + size.getMinimum();
+ mDrawSizeValue.setText(((val>0)?"+":"")+val);
}
});