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
Zuhayr Elahi
2,582 PointsStormy: Gradient background is showing up as white
I created the gradient as mentioned in the background.xml. However it is showing up as a white background. I am not sure what the issue is as I checked it with the teacher's background.xml file. I uploaded the files to my github. Below are the links for the gradient.xml file as well as the activity_main layout xml file.
Any help is greatly appreciated
https://github.com/zelahi/AndroidProjects/blob/master/Stormy2/app/src/main/res/drawable/bg_gradient.xml https://github.com/zelahi/AndroidProjects/blob/master/Stormy2/app/src/main/res/layout/activity_main.xml