diff --git a/soft1614080902124/soft1614080902124/app/src/main/AndroidManifest.xml b/soft1614080902124/soft1614080902124/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..8559b97cd --- /dev/null +++ b/soft1614080902124/soft1614080902124/app/src/main/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/soft1614080902124/soft1614080902124/app/src/main/java/edu/hzuapps/androidlabs/soft1614080902124/Soft1614080902124Activity.java b/soft1614080902124/soft1614080902124/app/src/main/java/edu/hzuapps/androidlabs/soft1614080902124/Soft1614080902124Activity.java new file mode 100644 index 000000000..17f8341b9 --- /dev/null +++ b/soft1614080902124/soft1614080902124/app/src/main/java/edu/hzuapps/androidlabs/soft1614080902124/Soft1614080902124Activity.java @@ -0,0 +1,13 @@ +package edu.hzuapps.androidlabs.soft1614080902124; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class Soft1614080902124Activity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_soft1614080902124); + } +} diff --git a/soft1614080902124/soft1614080902124/app/src/main/res/layout/activity_soft1614080902124.xml b/soft1614080902124/soft1614080902124/app/src/main/res/layout/activity_soft1614080902124.xml new file mode 100644 index 000000000..ee13f0b3c --- /dev/null +++ b/soft1614080902124/soft1614080902124/app/src/main/res/layout/activity_soft1614080902124.xml @@ -0,0 +1,18 @@ + + + + + + diff --git a/soft1614080902124/soft1614080902124/app/src/main/res/values/strings.xml b/soft1614080902124/soft1614080902124/app/src/main/res/values/strings.xml new file mode 100644 index 000000000..05c87c4d6 --- /dev/null +++ b/soft1614080902124/soft1614080902124/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + 照片浏览器soft1614080902124 + diff --git "a/soft1614080902124/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\212\245\345\221\212.md" "b/soft1614080902124/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\212\245\345\221\212.md" new file mode 100644 index 000000000..021813d38 --- /dev/null +++ "b/soft1614080902124/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\212\245\345\221\212.md" @@ -0,0 +1,70 @@ +# 第二次实验 +## 1.实验目标 +1.在Issues中创建自己的选题:https://github.com/hzuapps/android-labs-2018/issues ; +2.根据自选题目,编写一个或多个Activity(所有均带上学号前缀,放到自己的Java包下); +3.将标题设置为自己的学号+对应的功能或题目; +4.根据自己选择的题目实现Activity中导航、调用等功能(选做)。 + +## 2.实验步骤 +1.创建一个新项目,以学号为主文件 +2.新建一个Activity +3.完成第一个页面,并实现调用 + +## 3.实验结果 +package edu.hzuapps.androidlabs.soft1614080902124; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class Soft1614080902124Activity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_soft1614080902124); + } +} + + + + + + + + + + + + + + + + + + + + + + + +## 4.实验体会 +在本次实验中我学会android组件的基本操作,运行app需要虚拟机,在此花费了不少时间,直到运行成功。