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 Build a Simple Android App (retired 2014) Pretty Little Things Customizing Buttons and Labels

This app fails each time the theme is added is there a solution or is this a known issue?

I have been through this app twice and it fails whem the theme is added is there a solution?.

3 Answers

Kate.

I had failed to make the necessary corrections for the posted errata in my xml manifest.
I felt a bit silly and it was a complete noob mistake but after I switched to the App resource radio button in the manifest the correct AppTheme was available and it corrected my initial oversight. He even warned us specifically about changing graphical layout elements without the corresponding manifest changes but it was a good learning experience for me. Thank-you for responding to me so quickly...

                                                                                               Sincerely, 
                                                                                               Michael  T.
Kate Hoferkamp
Kate Hoferkamp
5,205 Points

Great! I'm glad you got it sorted out!

Kate Hoferkamp
Kate Hoferkamp
5,205 Points

Can you show your code for styles.xml? Also, did you try and rebuild the app? That may help.

This is what I have for styles.xml and it seems to run great:

<resources>

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

</resources>

Justin,

I want to reiterate my sincere thanks...

                                    Michael