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 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