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

Kevin Michie
Kevin Michie
6,554 Points

Use Empty Activity instead of Blank Activity. Less Errors and Better Rendering...so far...

Hi Everyone,

While I was working through Interactive Story, my app did not like the changes I made when I tried getting rid of the Action Bar. I had multiple errors and would be constantly asked about a widget. After scanning the internet and trying at least 15 different ways to fix this, I made a change to what project type I should use.

Instead of Blank Activity, I used Empty Activity and my pre-loaded code was almost perfectly aligned to that of the video. The exception so far being the missing styles(v.21).xml.

You still need to change your API to 21, mine was at 23, to eliminate the rendering issues.

I hope this was able to help those that were frustrated with the rendering errors and files being pre-loaded so differently than the videos.

Best Kevin