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

My app will not go into fullscreen mode...

I have everything entered correctly. I don't have "dialog" in the code like another user had. I am not sure what I need to do. I will past my manifest and styles xml below.

Manifest:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="dubbdroid.funfacts" >

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="dubbdroid.funfacts.FunFactsActivity"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

Styles:

<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="android:Theme.Holo.Light.NoActionBar">
    <!-- Customize your theme here. -->
</style>

</resources>

1 Answer

try this in your main activity (before setContentView)

requestWindowFeature(Window.FEATURE_NO_TITLE);

Also make sure your styles.xml is in the correct folder, If you have values-v11 and values-v14 make sure you check the styles.xml file in those folders too.

You are the best!! Thank you Steve. I didn't change the other "styles.xml" files like you suggested in the second part of your answer. Thanks again!