forked from GitHub/gf-core
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