Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Android Fragments Ingredients and Directions The Ingredients Fragment

Anastasiia Karpenko
Anastasiia Karpenko
2,413 Points

The buttons of my checkbox are the same color as the background is (dark grey). What should I do to set the color?

The buttons of my checkbox are the same color as the background is (dark grey). What should I do to set the color? On stackoverflow they recommend to use AppCompatCheckBox class instead of just CheckBox as in the videos. Should I do that? IS there another way of changing the button color programmatically without changing the checkbox class?

Anastasiia Karpenko
Anastasiia Karpenko
2,413 Points

Trying to solve the problem by using setButtonTintList() method but apparently it doe not support API less than 21 :(