diff --git a/soft1614080902325/3.1.png b/soft1614080902325/3.1.png new file mode 100644 index 000000000..75da40252 Binary files /dev/null and b/soft1614080902325/3.1.png differ diff --git a/soft1614080902325/3.2.png b/soft1614080902325/3.2.png new file mode 100644 index 000000000..03d38fe26 Binary files /dev/null and b/soft1614080902325/3.2.png differ diff --git a/soft1614080902325/drawable/huibiao.JPG b/soft1614080902325/drawable/huibiao.JPG new file mode 100644 index 000000000..308eceafb Binary files /dev/null and b/soft1614080902325/drawable/huibiao.JPG differ diff --git a/soft1614080902325/drawable/ic_launcher_background.xml b/soft1614080902325/drawable/ic_launcher_background.xml new file mode 100644 index 000000000..d5fccc538 --- /dev/null +++ b/soft1614080902325/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/soft1614080902325/java/edu/hzuapps/androidlabs/Soft1614080902325Activity.java b/soft1614080902325/java/edu/hzuapps/androidlabs/Soft1614080902325Activity.java index 42a0f85a3..c0aca5072 100644 --- a/soft1614080902325/java/edu/hzuapps/androidlabs/Soft1614080902325Activity.java +++ b/soft1614080902325/java/edu/hzuapps/androidlabs/Soft1614080902325Activity.java @@ -1,13 +1,25 @@ -package com.example.lenovo; +package edu.hzuapps.androidlabs.soft1614080902325; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; +import android.content.Intent; +import android.view.View; +import android.widget.Button; public class Soft1614080902325Activity extends AppCompatActivity { - + private Button textview_01; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_soft1614080902325); + textview_01 = findViewById(R.id.textview_01); + textview_01.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + //跳转到个人信息页面 + Intent intent = new Intent(Soft1614080902325Activity.this,personalInformationActivity.class); + startActivity(intent); + } + }); } } diff --git a/soft1614080902325/java/edu/hzuapps/androidlabs/personalInformationActivity.java b/soft1614080902325/java/edu/hzuapps/androidlabs/personalInformationActivity.java new file mode 100644 index 000000000..4fd4a1096 --- /dev/null +++ b/soft1614080902325/java/edu/hzuapps/androidlabs/personalInformationActivity.java @@ -0,0 +1,13 @@ +package edu.hzuapps.androidlabs.soft1614080902325; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class personalInformationActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_personal_information); + } +} diff --git a/soft1614080902325/report3.md b/soft1614080902325/report3.md new file mode 100644 index 000000000..12b1520dc --- /dev/null +++ b/soft1614080902325/report3.md @@ -0,0 +1,53 @@ +# ������ʵ�� + +## 1. ʵ��Ŀ�� +������AndroidӦ����ʹ��ͼƬ����Դ�ķ����� +## 2. ʵ�鲽�� +1����button�ؼ�ʵ����ת +��1����֮ǰʵ��д�õ�Android������activity_soft1614080902325.xmlдһ��button + +