diff --git a/soft1614080902146/app/src/main/java/com/example/hzu/msoft1614080902146/Soft1614080902146.java b/soft1614080902146/app/src/main/java/com/example/hzu/msoft1614080902146/Soft1614080902146.java new file mode 100644 index 000000000..81bde7c79 --- /dev/null +++ b/soft1614080902146/app/src/main/java/com/example/hzu/msoft1614080902146/Soft1614080902146.java @@ -0,0 +1,27 @@ +package com.example.hzu.msoft1614080902146; + +import android.content.Intent; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.view.View; +import android.widget.TextView; + +public class Soft1614080902146 extends AppCompatActivity { + + private TextView textView; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_soft1614080902146); + + textView=(TextView)findViewById(R.id.text_view); + textView.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent=new Intent(Soft1614080902146.this,Soft16140809021462.class); + startActivity(intent); + } + }); + } +} \ No newline at end of file diff --git a/soft1614080902146/app/src/main/java/com/example/hzu/msoft1614080902146/Soft16140809021462.java b/soft1614080902146/app/src/main/java/com/example/hzu/msoft1614080902146/Soft16140809021462.java new file mode 100644 index 000000000..299df8e75 --- /dev/null +++ b/soft1614080902146/app/src/main/java/com/example/hzu/msoft1614080902146/Soft16140809021462.java @@ -0,0 +1,14 @@ +package com.example.hzu.msoft1614080902146; + + + import android.support.v7.app.AppCompatActivity; + import android.os.Bundle; + +public class Soft16140809021462 extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_soft16140809021462); + } +} \ No newline at end of file diff --git a/soft1614080902146/app/src/main/res/layout/activity_soft1614080902146.xml b/soft1614080902146/app/src/main/res/layout/activity_soft1614080902146.xml new file mode 100644 index 000000000..5029d384f --- /dev/null +++ b/soft1614080902146/app/src/main/res/layout/activity_soft1614080902146.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/soft1614080902146/app/src/main/res/layout/activity_soft16140809021462.xml b/soft1614080902146/app/src/main/res/layout/activity_soft16140809021462.xml new file mode 100644 index 000000000..1acf6575a --- /dev/null +++ b/soft1614080902146/app/src/main/res/layout/activity_soft16140809021462.xml @@ -0,0 +1,17 @@ + + + + + +