From 10f897d7b3e98c364f2f8a00f9d1ffd2e51f572a Mon Sep 17 00:00:00 2001 From: wufchun <48343107+wufchun@users.noreply.github.com> Date: Mon, 22 Apr 2019 21:34:38 +0800 Subject: [PATCH] Delete wordtestActivity.java --- .../soft1714080902414/wordtestActivity.java | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 students/soft1714080902414/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902414/wordtestActivity.java diff --git a/students/soft1714080902414/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902414/wordtestActivity.java b/students/soft1714080902414/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902414/wordtestActivity.java deleted file mode 100644 index 8c2dfdfd2..000000000 --- a/students/soft1714080902414/app/src/main/java/edu/hzuapps/androidlabs/soft1714080902414/wordtestActivity.java +++ /dev/null @@ -1,45 +0,0 @@ -package edu.hzuapps.androidlabs.soft1714080902414; - -import android.content.Intent; -import android.support.v7.app.AppCompatActivity; -import android.os.Bundle; -import android.view.View; -import android.widget.Button; - -public class WordtestActivity extends AppCompatActivity { - - private Button button; - private Button button1; - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_wordtest); - button=(Button)findViewById(R.id.button); - button1=(Button)findViewById(R.id.button1); - button.setOnClickListener(new MyButton()); - button1.setOnClickListener(new MyButton()); - } - - public class MyButton implements View.OnClickListener{ - @Override - public void onClick(View v) { - - - switch (v.getId()) - { - - case R.id.button: Intent intent1 =new Intent(WordtestActivity.this, WordtestanswerActivity.class); - startActivity(intent1);break; - - case R.id.button1: Intent intent =new Intent(WordtestActivity.this, Soft1714080902414Activity.class); - startActivity(intent);break; - } - - } - } - - - - - -}