How to Hide/Remove ActionBar from an Activity
1. In the AndroidManifest.xml, add the below line between the activity tags.
<activity android:name="MyActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
....>
2. Compile and run!
Resources:
http://stackoverflow.com/questions/8456835/how-to-disable-action-bar-permanently
Popular Posts
- Save LogCat to a Text File
- android:ellipsize - Add an ellipsis(...) in a TextView
- Solution: error: Error parsing XML: unbound prefix
- android:scrollbarStyle - Change the Scrollbar Location/Style in a TextView
- Intent setType(String type) - How to Set an Explicit MIME data type
- android:typeface - Set the Typeface to Sans, Serif, or Monospace in a TextView/EditText
- Change the line spacing between lines of text in an TextView/EditText, using lineSpacingMultiplier
- android:alpha - Set the Opacity/Transparency of Text in TextView/EditText
- How to Get Current Time in Milliseconds
- android:gravity - Move Text inside a EditText (center, top, bottom, right, left, and more)