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


Curious about full screen (Crystal Ball)

I'm moving along smoothly lately, just getting in to the launcher icon and settings video. Ben mentions here that we've been using full-screen mode to hide the window label, for example. This is true, and it behaves that way in the emulator.

However, for the first time, I noticed that it doesn't behave that way on my phone. It's an Epic 4G, Android 2.3.6. When Crystal Ball is running, I still have the notification bar and the app label (now "Crystal Ball") at the top of the screen.

Do you think this is simply a versioning issue, or am I overlooking something that would adjust this?


7 Answers

What does it say in your AndroidManifest.xml?

Look for the:


in the



For example:

        android:targetSdkVersion="17" />

        android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" >
Ben Jakuben
Ben Jakuben
Treehouse Teacher

I would guess this is device-specific or maybe version-specific. If I run the app on my 2.3.3 emulator it takes up the entire full screen. There are different ways to try hiding the Notification Bar and/or the Status bar. Here's one that deals with setting the theme:


This value worked. I actually placed the string in the Theme: field on the Application form, thinking it would generate the matching code in the appropriate spot in the .xml, but it didn't. Just another oddity (to me), but not something I need to comprehend right now.


Hey Mark can you explain what code snippet worked for you? I'm curious because I've never had a Theme.Black.NoTitleBar.Fullscreen not work.

Hey Mark can you explain what code snippet worked for you? I'm curious because I've never had a Theme.Black.NoTitleBar.Fullscreen not work.

Hi Ernest,

Someone in the other thread said the code block didn't work for them. My situation was a little different.

I typed Theme.Black.NoTitleBar.Fullscreen into the first place I saw "Theme", which just happened to be on the Application tab (where you fill in the info in a form). I used it there and it worked.

I flipped over to the AndroidManifest.xml tab and couldnt see the changes in the code. It turned out that it was there, in a long line that extended well to the right of the editor screen, but I found it.


Heh. Oh well. Glad you could work it out. I always edit the actual .xml itself.