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 Implementing Designs for Android Customizing the Login Screen Hiding the Action Bar

Henrik Hansen
Henrik Hansen
23,176 Points

Extend as Activity vs ActionBarActivity?

The only way for me to show an ActionBar is by extending the activity with ActionBarActivity. When only extending with Activity, the ActionBar does not show.

Is there a reason why to use extends Activity vs extends ActionBarActivity? Or any other extends.

Ken Alger
Ken Alger
Treehouse Teacher

Henrik;

Can you show the code you are using for the activity in which you want to utilize the Action Bar?

Thanks, Ken