<color name="red">#FF0000</color>
<color name="blue">#0000FF</color>
<color name="text_toolbar">#FFFFFF</color>
- <color name="background_screen">#000000</color>
+ <color name="background_screen">#101010</color>
<color name="background_toolbar">#363949</color>
- <color name="background_main_toolbar">#1e2028</color>
+ <color name="background_main_toolbar">#232323</color>
<color name="toolbar_separation_line">#333333</color>
</resources>
\ No newline at end of file
ImageFilterRS.setRenderScriptContext(this);
ImageShow.setDefaultBackgroundColor(getResources().getColor(R.color.background_screen));
+ ImageSmallFilter.setDefaultBackgroundColor(getResources().getColor(R.color.background_main_toolbar));
// TODO: get those values from XML.
ImageShow.setTextSize((int) getPixelsFromDip(12));
ImageShow.setTextPadding((int) getPixelsFromDip(10));
// TODO: move this to xml.
protected static int mMargin = 12;
protected static int mTextMargin = 8;
- protected final int mBackgroundColor = Color.argb(255, 30, 32, 40);
+ protected static int mBackgroundColor = Color.BLUE;
protected final int mSelectedBackgroundColor = Color.WHITE;
protected final int mTextColor = Color.WHITE;
mTextMargin = value;
}
+ public static void setDefaultBackgroundColor(int value) {
+ mBackgroundColor = value;
+ }
+
public ImageSmallFilter(Context context, AttributeSet attrs) {
super(context, attrs);
setOnClickListener(this);