Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void dropIn(View view){

ImageView counter=(ImageView) view;

//Log.i("Tag",counter.getTag().toString());
Log.i("Tag",counter.getTag().toString());

int tappedCounter=Integer.parseInt(counter.getTag().toString());

Expand Down Expand Up @@ -55,7 +55,7 @@ public void dropIn(View view){
flag=1;
winner = "RED";
}
//Toast.makeText(this, winner + " has won!!", Toast.LENGTH_SHORT).show();
Toast.makeText(this, winner + " has won!!", Toast.LENGTH_SHORT).show();
Button playAgainButton=(Button)findViewById(R.id.button);
TextView winnerTextView=(TextView)findViewById(R.id.textView2);
winnerTextView.setText(winner+ " has Won!!");
Expand Down Expand Up @@ -111,6 +111,7 @@ public void playAgain(View view){

@Override
protected void onCreate(Bundle savedInstanceState) {
System.out.println("Hello create!!");
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
Expand Down