diff --git a/soft1614080902112/AndroidManifest.xml b/soft1614080902112/AndroidManifest.xml index a156bf19c..5cc564ace 100644 --- a/soft1614080902112/AndroidManifest.xml +++ b/soft1614080902112/AndroidManifest.xml @@ -15,6 +15,7 @@ + \ No newline at end of file diff --git a/soft1614080902112/java/com/example/a14775/soft1614080902112activity/SecondActivity.java b/soft1614080902112/java/com/example/a14775/soft1614080902112activity/SecondActivity.java new file mode 100644 index 000000000..cc9883cfd --- /dev/null +++ b/soft1614080902112/java/com/example/a14775/soft1614080902112activity/SecondActivity.java @@ -0,0 +1,13 @@ +package com.example.a14775.soft1614080902112activity; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class SecondActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_second); + } +} diff --git a/soft1614080902112/java/com/example/a14775/soft1614080902112activity/Soft1614080902112Activity.java b/soft1614080902112/java/com/example/a14775/soft1614080902112activity/Soft1614080902112Activity.java new file mode 100644 index 000000000..791d992d8 --- /dev/null +++ b/soft1614080902112/java/com/example/a14775/soft1614080902112activity/Soft1614080902112Activity.java @@ -0,0 +1,24 @@ +package com.example.a14775.soft1614080902112activity; + +import android.content.Intent; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; + +public class Soft1614080902112Activity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_soft1614080902112); + Button button1=(Button)findViewById(R.id.button_1); + button1.setOnClickListener(new View.OnClickListener(){ + @Override + public void onClick(View v){ + Intent intent=new Intent(Soft1614080902112Activity.this,SecondActivity.class); + startActivity(intent); + } + }); + } +} diff --git a/soft1614080902112/res/drawable/bj.jpg b/soft1614080902112/res/drawable/bj.jpg new file mode 100644 index 000000000..91e65a4c5 Binary files /dev/null and b/soft1614080902112/res/drawable/bj.jpg differ diff --git a/soft1614080902112/res/drawable/tubiao2.jpg b/soft1614080902112/res/drawable/tubiao2.jpg new file mode 100644 index 000000000..ae9053306 Binary files /dev/null and b/soft1614080902112/res/drawable/tubiao2.jpg differ diff --git a/soft1614080902112/res/drawable/tubiao3.jpg b/soft1614080902112/res/drawable/tubiao3.jpg new file mode 100644 index 000000000..395454bc9 Binary files /dev/null and b/soft1614080902112/res/drawable/tubiao3.jpg differ diff --git a/soft1614080902112/res/drawable/tubiao_1.jpg b/soft1614080902112/res/drawable/tubiao_1.jpg new file mode 100644 index 000000000..908c924d5 Binary files /dev/null and b/soft1614080902112/res/drawable/tubiao_1.jpg differ diff --git a/soft1614080902112/res/layout/activity_second.xml b/soft1614080902112/res/layout/activity_second.xml new file mode 100644 index 000000000..a5d4bdfb9 --- /dev/null +++ b/soft1614080902112/res/layout/activity_second.xml @@ -0,0 +1,26 @@ + + + + +