i am going though a tutorial trying to learn this so i can show others.

I have this line:

<https://lh3.googleusercontent.com/-fD_TlOkiAQs/Vq-jVQCSbJI/AAAAAAAAAGc/moax15TbucI/s1600/error.jpg>

getSupportActionBar().setDisplayShowHomeEnabled(true);

when i try to run on emulator the program compiles, but when the emulator comes 
up, I get an error indicating the app has stopped functioning.  If i comment 
this out, the app runs perfectly except the icon bar does not show up at the 
top.  This is the error explanation i get but quite honestly i do not 
understand it, what do i need to do to get this to work?



-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/b75aad74-a295-4d39-9db5-0b4c3fe3f6fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to