Android Open Source - Minimal-Resistance About






From Project

Back to project page Minimal-Resistance.

License

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.

Java Source Code

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;
  }

}




Java Source Code List

com.example.minimalresistance.About.java
com.example.minimalresistance.MainActivity.java