Back to project page Minimal-Resistance.
The source code is released under:
MIT License
If you think the Android project Minimal-Resistance listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.minimalresistance; /* www.j av a 2s. c o m*/ import android.app.ActionBar; import android.app.Activity; import android.os.Bundle; import android.view.Menu; public class About extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_about); //hides the action bar ActionBar actionBar = getActionBar(); actionBar.hide(); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.about, menu); return true; } }