mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 01:22:51 -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
|
//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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user