diff --git a/soft1614080902435/2.0.png b/soft1614080902435/2.0.png new file mode 100644 index 000000000..eda8237d0 Binary files /dev/null and b/soft1614080902435/2.0.png differ diff --git a/soft1614080902435/app/src/main/AndroidManifest.xml b/soft1614080902435/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..6a8d0f50e --- /dev/null +++ b/soft1614080902435/app/src/main/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + \ 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 new file mode 100644 index 000000000..2c1538a9f --- /dev/null +++ b/soft1614080902435/app/src/main/java/edu/hzuapps/androidlabs/Soft1614080902435/Soft1614080902435.java @@ -0,0 +1,4 @@ +package edu.hzuapps.androidlabs.Soft1614080902435; + +public class Soft1614080902435 { +} diff --git a/soft1614080902435/app/src/main/res/layout/soft_1614080902435_activity.xml b/soft1614080902435/app/src/main/res/layout/soft_1614080902435_activity.xml new file mode 100644 index 000000000..84f19512d --- /dev/null +++ b/soft1614080902435/app/src/main/res/layout/soft_1614080902435_activity.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/soft1614080902435/app/src/main/res/values/strings.xml b/soft1614080902435/app/src/main/res/values/strings.xml new file mode 100644 index 000000000..21b7a990e --- /dev/null +++ b/soft1614080902435/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + 标准计算器 + diff --git a/soft1614080902435/report2.md b/soft1614080902435/report2.md new file mode 100644 index 000000000..840640a00 --- /dev/null +++ b/soft1614080902435/report2.md @@ -0,0 +1,24 @@ +# **第二次实验** +## **1.实验目标** +Android组件编程 +## 2.实验步骤 +1.在Issues中创建自己的选题,我的题目是《标准计算器》 + +2.新建一个项目,起名Standard Calculator + +3.在java目录下创建edu\hzuapps\androidlabs\Soft1614080902435包,在此目录下新建一个java类Soft1614080902435 + +4.将res\layout下的activity_main.xml重构重名字为soft_1614080902435_activity.xml + +5.把res\values下的strings.xml中的Standard Calculator 改成标准计算器 + +6.新建文件夹,命名app,在app下新建src\main,在main目录下新建java和res,并把studio文件夹内的AndroidManifest.xml粘贴至此处;在java目录下依次新建edu\hzuapps\androidlabs\Soft1614080902419,并将Soft1614080902419.java粘贴至Soft1614080902419;在res新建layout,将soft_1614080902419_activity.xml粘贴至layout;最后在res新建values,将strings.xml粘贴至values + +7.打开git bash,将文件夹push上github,向老师提交pull request. + +## 3.实验结果 + +![Image text](https://raw.githubusercontent.com/AisakaTaika/android-labs-2018/master/soft1614080902435/2.0.png) + +## 4.实验心得 +通过此次实验,让我对Android studio的操作有了初步认识,希望下次再接再厉。