</HorizontalScrollView>
</FrameLayout>
+ <View
+ android:background="@color/toolbar_separation_line"
+ android:layout_height="1dip"
+ android:layout_width="match_parent" />
+
<com.android.gallery3d.filtershow.CenteredLinearLayout
xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d"
android:id="@+id/mainPanel"
<color name="text_toolbar">#FFFFFF</color>
<color name="background_toolbar">#363949</color>
<color name="background_main_toolbar">#1e2028</color>
+ <color name="toolbar_separation_line">#333333</color>
</resources>
\ No newline at end of file
public void setEffectName(String effectName) {
mEffectName = effectName;
- showParameter(true);
- updateText();
+ setShowParameter(true);
}
- public void showParameter(boolean s) {
+ public void setShowParameter(boolean s) {
mShowParameterValue = s;
+ updateText();
}
public void updateText() {
}
public void showParameter(boolean s) {
- mUtilityPanel.showParameter(s);
+ mUtilityPanel.setShowParameter(s);
}
public void setCurrentPanel(View panel) {
mCurrentImage = showImageView(R.id.imageFlip);
String ename = mCurrentImage.getContext().getString(R.string.flip);
mUtilityPanel.setEffectName(ename);
- mUtilityPanel.showParameter(false);
+ mUtilityPanel.setShowParameter(false);
break;
}
case R.id.vignetteButton: {
ImageCurves curves = (ImageCurves) showImageView(R.id.imageCurves);
String ename = mCurrentImage.getContext().getString(R.string.curvesRGB);
mUtilityPanel.setEffectName(ename);
+ mUtilityPanel.setShowParameter(false);
curves.setUseRed(true);
curves.setUseGreen(true);
curves.setUseBlue(true);
mCurrentImage = showImageView(R.id.imageShow).setShowControls(false);
String ename = mCurrentImage.getContext().getString(R.string.wbalance);
mUtilityPanel.setEffectName(ename);
+ mUtilityPanel.setShowParameter(false);
ensureFilter("WBalance");
break;
}
protected final int mSelectedBackgroundColor = Color.WHITE;
protected final int mInnerBorderColor = Color.BLACK;
protected final int mInnerBorderWidth = 2;
- protected final float mImageScaleFactor = 2.5f;
+ protected final float mImageScaleFactor = 3.5f;
public ImageSmallBorder(Context context) {
super(context);