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

shadowColor not showing up on Crystal Ball app actual (run on my device)

This is a pretty small issue, overall, but I'm curious - While I know that the shadow effect won't show in the Eclipse preview - it's also failing to show on the emulator. I have the following settings within the TextView from my activity_main:

        android:shadowColor="@android:color/white"
        android:shadowRadius="10"
        android:textColor="@android:color/white"

Any idea what could be going wrong? Is this just me?

I am loving this project by the way - it's a fantastic introduction. -Robb

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Are you still having trouble with this? Can you paste in the entire contents of your layout file?

1 Answer

Is it showing on the real device ?

Unfortunately not. Oddly, if I set the shadowDx and shadowDy properties, it will show - but with a different effect than the video shows, obviously. It's puzzling me, because I've downloaded the original source and can't see a difference. Hmm.