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

create a new gradient drawable that will change from "TARDIS" blue to white. Start by adding a <shape> element as the r

create a new gradient drawable that will change from "TARDIS" blue to white. Start by adding a <shape> element as the root. Use this namespace for easy copy/paste: xmlns:android="http://schemas.android.com/apk/res/android"

1 Answer

This just appeared in my email inbox and a notification appeared n the Treehouse page I had open too.

Both say that this question was asked two months ago?

http://goo.gl/3qMeMI

Anyway, here's a solution to the first steps of this challenge that should get you started on it, assuming you didn't 2 months ago!

Steve.

<shape xmlns:android="http://schemas.android.com/apk/res/android">
  <gradient 
            android:startColor="#102372"
            android:endColor="#ffffff"
            android:type="linear"
            android:angle="135" />
</shape>