Android Build a Simple Android App with Java Improving Our Code Dynamically Changing the Background Color

setBackground ( in View cannot be applied to (int)

color issues

Hi Katrina. I believe you should call setBackgroundColor() but can you share your code for your FunFactsActivity please? Thanks

1 Answer

Hi Katrina could you please share your code for more context.