Skip to content

Commit 1623d32

Browse files
committed
Remove unused Menu
1 parent 0bde0ba commit 1623d32

File tree

3 files changed

+0
-33
lines changed

3 files changed

+0
-33
lines changed

SDKExample/src/main/java/jp/studyplus/android/sdk/example/ExampleActivity.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import android.os.Bundle;
77
import android.support.v7.app.ActionBarActivity;
88
import android.util.Log;
9-
import android.view.Menu;
10-
import android.view.MenuItem;
119
import android.view.View;
1210
import android.widget.Toast;
1311

@@ -93,24 +91,4 @@ public void onClick(View v) {
9391
}
9492
}
9593

96-
@Override
97-
public boolean onCreateOptionsMenu(Menu menu) {
98-
99-
// Inflate the menu; this adds items to the action bar if it is present.
100-
getMenuInflater().inflate(R.menu.example, menu);
101-
return true;
102-
}
103-
104-
@Override
105-
public boolean onOptionsItemSelected(MenuItem item) {
106-
// Handle action bar item clicks here. The action bar will
107-
// automatically handle clicks on the Home/Up button, so long
108-
// as you specify a parent activity in AndroidManifest.xml.
109-
int id = item.getItemId();
110-
if (id == R.id.action_settings) {
111-
return true;
112-
}
113-
return super.onOptionsItemSelected(item);
114-
}
115-
11694
}

SDKExample/src/main/res/menu/example.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

SDKExample/src/main/res/values/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33

44
<string name="app_name">SDK Example</string>
55
<string name="hello_world">Hello world!!!</string>
6-
<string name="action_settings">Settings</string>
76

87
</resources>

0 commit comments

Comments
 (0)