-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1384 from CapWu/master
- Loading branch information
Showing
5 changed files
with
45 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package com.cap.pomodoros; | ||
|
||
import android.content.Intent; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
import android.view.Menu; | ||
import android.view.MenuItem; | ||
import android.view.View; | ||
import android.widget.Toast; | ||
import com.cap.pomodoros.*; | ||
|
||
public class PomodorosActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.pomodoros_layout); | ||
} | ||
|
||
|
||
@Override | ||
public boolean onCreateOptionsMenu(Menu menu) { | ||
getMenuInflater().inflate(R.menu.main,menu); | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean onOptionsItemSelected(MenuItem item) { | ||
switch(item.getItemId()){ | ||
case R.id.add_item: | ||
Toast.makeText(this, "You clicked Add", Toast.LENGTH_SHORT).show(); | ||
break; | ||
case R.id.remove_item: | ||
Toast.makeText(this,"You clicked Remove",Toast.LENGTH_SHORT).show(); | ||
break; | ||
default: | ||
} | ||
return true; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
} |
170 changes: 0 additions & 170 deletions
170
students/soft1714080902340/drawable/ic_launcher_background.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.