better color filter to indicate listening

This commit is contained in:
kr.angelov
2014-12-01 21:13:09 +00:00
parent 353055c2c0
commit b552ef79d9

View File

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