Back to project page android-activity-state.
The source code is released under:
MIT License
If you think the Android project android-activity-state 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.activitystate; /*ww w . j a v a 2s . co m*/ import com.example.activitystate.R; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class ThirdActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_third); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.third, menu); return true; } }