• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps extends from activity not working

desatir7316

Newbie
Dec 25, 2014
35
2
hi there
i made a project and by getting help from this link(http://stackoverflow.com/questions/2868047/fullscreen-activity-in-android), want to change my activity to be fullscreen
but when i change my code to extends from activity and not from activityActionBar , i gave me a lots of error like :
for onCreate : The method onCreate(Bundle) of type MainActivity must override or implement a supertype method
for setContentView : The method setContentView(int) is undefined for the type MainActivity
for getWindow : The method getWindow() is undefined for the type MainActivity
and for requestWindowFeature : The method requestWindowFeature(int) is undefined for the type MainActivity

what should i do?
thanks
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones