Remove settings menu option
This commit is contained in:
parent
08bbf1d236
commit
763422f7dd
|
@ -161,11 +161,6 @@ public class MainActivity extends AppCompatActivity {
|
|||
// as you specify a parent activity in AndroidManifest.xml.
|
||||
int id = item.getItemId();
|
||||
|
||||
//noinspection SimplifiableIfStatement
|
||||
if (id == R.id.action_settings) {
|
||||
// TODO: implement some settings
|
||||
return true;
|
||||
}
|
||||
if (id == R.id.action_send) {
|
||||
InputMethodManager inputManager = (InputMethodManager) this.getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
if (this.getCurrentFocus() != null && inputManager != null) {
|
||||
|
|
|
@ -2,11 +2,6 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="eu.stuifzand.micropub.MainActivity">
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_settings"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_photo"
|
||||
|
|
Loading…
Reference in New Issue
Block a user