diff --git a/soft1614080902435/3.1.png b/soft1614080902435/3.1.png new file mode 100644 index 000000000..a8a63ee08 Binary files /dev/null and b/soft1614080902435/3.1.png differ diff --git a/soft1614080902435/3.2.png b/soft1614080902435/3.2.png new file mode 100644 index 000000000..0a5fc3e5b Binary files /dev/null and b/soft1614080902435/3.2.png differ diff --git a/soft1614080902435/app/src/main/AndroidManifest.xml b/soft1614080902435/app/src/main/AndroidManifest.xml index 6a8d0f50e..af5fcbaa6 100644 --- a/soft1614080902435/app/src/main/AndroidManifest.xml +++ b/soft1614080902435/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="edu.hzuapps.androidlabs.Soft1614080902435"> - + + \ No newline at end of file diff --git a/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/Soft1614080902435.java b/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/Soft1614080902435.java index 2c1538a9f..ee849f724 100644 --- a/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/Soft1614080902435.java +++ b/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/Soft1614080902435.java @@ -1,4 +1,32 @@ package edu.hzuapps.androidlabs.Soft1614080902435; -public class Soft1614080902435 { +import android.content.Intent; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.util.Log; +import android.view.View; +import android.widget.Button; + +public class Soft1614080902435 extends AppCompatActivity implements View.OnClickListener { + + Button b; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_soft1614080902435); + Log.d("dd","123"); + b = (Button)findViewById(R.id.open); + b.setOnClickListener(this); + } + @Override + public void onClick(View view) { + if(view==b){ + Intent intent = new Intent(); + Log.d("dd","123"); + intent.setClass(Soft1614080902435.this,jiemianerActivity.class); + startActivity(intent); + } + } + } diff --git a/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/jiemianerActivity.java b/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/jiemianerActivity.java new file mode 100644 index 000000000..f6b75f73f --- /dev/null +++ b/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/jiemianerActivity.java @@ -0,0 +1,14 @@ +package edu.hzuapps.androidlabs.Soft1614080902435; + +import android.os.Bundle; +import android.support.v7.app.AppCompatActivity; + +public class jiemianerActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView( R.layout.activity_jiemianer); + } + +} diff --git a/soft1614080902435/app/src/main/res/drawable/beijing.png b/soft1614080902435/app/src/main/res/drawable/beijing.png new file mode 100644 index 000000000..3784fdce0 Binary files /dev/null and b/soft1614080902435/app/src/main/res/drawable/beijing.png differ diff --git a/soft1614080902435/app/src/main/res/drawable/ic_launcher_background.xml b/soft1614080902435/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 000000000..d5fccc538 --- /dev/null +++ b/soft1614080902435/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/soft1614080902435/app/src/main/res/layout/activity_jiemianer.xml b/soft1614080902435/app/src/main/res/layout/activity_jiemianer.xml new file mode 100644 index 000000000..783aaa76f --- /dev/null +++ b/soft1614080902435/app/src/main/res/layout/activity_jiemianer.xml @@ -0,0 +1,14 @@ + + + + \ No newline at end of file diff --git a/soft1614080902435/app/src/main/res/layout/activity_soft1614080902435.xml b/soft1614080902435/app/src/main/res/layout/activity_soft1614080902435.xml new file mode 100644 index 000000000..29f5ce3bb --- /dev/null +++ b/soft1614080902435/app/src/main/res/layout/activity_soft1614080902435.xml @@ -0,0 +1,24 @@ + + + +