Mudar co de texto programaticamente faz o aplicativo travar

Describe your issue

I’m trying to add the text color function in my Notes application, but I’m experiencing an error with this function in the Blocks area.

Steps to reproduce the issue

In makeroid, I have application show a dialog, this:


(When the app is locked after touching “set”, after a time locked a message appears saying that the app is not responding)
in it the user chooses the color and touches on set, when touches on set the application hangs.

Expected Behaviour

Set text color and function normally.

Actual Behaviour

Does not set color and application hangs.

Show your Blocks

image

Android version

Android 5.0.1 Samsung Galaxy Gran Prime Duos

Errei o bloco!!!

Desculpem, percebi apenas agora!
Como apago? :grimacing:.