1
0
forked from GitHub/gf-core

better color filter to indicate listening

This commit is contained in:
kr.angelov
2014-12-01 21:13:09 +00:00
parent 301725e9e3
commit 34f91ecce2

View File

@@ -348,7 +348,7 @@ public class MainActivity extends Activity {
//clear the overlay //clear the overlay
mStartStopButton.getDrawable().clearColorFilter(); mStartStopButton.getDrawable().clearColorFilter();
} else { } else {
mStartStopButton.getDrawable().setColorFilter(0xff000000,android.graphics.PorterDuff.Mode.MULTIPLY); mStartStopButton.getDrawable().setColorFilter(0xffff0000,android.graphics.PorterDuff.Mode.SRC_ATOP);
} }
mStartStopButton.invalidate(); mStartStopButton.invalidate();
} }