mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
better color filter to indicate listening
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user