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 an Interactive Story App (Retired) User Input Hiding the ActionBar with an App Theme

Rendering Problems and Missing styles.

When I did this video, I got the error there are "Rendering Problems" then it says "Missing styles. Is the correct theme chosen for this layout?" Then it gives me an idea bulb the use the combo box at the top and another line says "NOTE: One or more layouts are missing the layout_width or layout_height attributes. These are required in most layouts."

I've tried to Invalidate Cache and restart. I've also tried choosing different themes. Nothing seems to work.

Can you help me with this?

Seth Kroger
Seth Kroger
56,414 Points

Sometimes changing the API level to a lower one can work, but it sounds like there's an issue with the layout file. If you switch to text view are there any error highlighted?

2 Answers

I don't see any errors.

Gnani Pasupula
Gnani Pasupula
3,915 Points

Try to choose App Theme or App Theme.No Acton Bar it will work