Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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