I need to remove actionBar from my project and the best way I found it was to edit theme.xml. However, when I edit it, I can not save it and soon, my actionBar is still active. I tried to put the line of code (below) but when emulated, my windows do not load. I tried writing at the beginning and end of the project, without success. $ .index.activity.actionBar.hide ();