Change the color of a button in a button matrix

Does anyone know how to change the body color of a button? I want to make the okay and close buttons in the emulated keyboard a different color from the other keys.

I recommend that you read the documentation pages about styles and button styling:

https://docs.littlevgl.com/en/html/overview/style.html

https://docs.littlevgl.com/en/html/object-types/btn.html#styles

Oh… now I reread your question and I see you are looking to recolor individual buttons on a button matrix. I believe that is not supported.

thank you for the response!

A workaround could be to use the toggled states (LV_BTNM_STYLE_TGL_…) to can add another color if you don’t don’t use them yet.