Skip to content

Commit

Permalink
实验1
Browse files Browse the repository at this point in the history
  • Loading branch information
zengyt committed Apr 13, 2016
1 parent 541b1a0 commit 58ca4f4
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.example.messagestomailbox;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class MainActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}

}

0 comments on commit 58ca4f4

Please sign in to comment.