Skip to content

Commit

Permalink
Merge pull request #1071 from 310341802/master
Browse files Browse the repository at this point in the history
  • Loading branch information
zengsn authored Apr 16, 2018
2 parents 448fb63 + 7d1affe commit ebecda5
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 0 deletions.
24 changes: 24 additions & 0 deletions soft1614080902436/#2report2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#第二次实验

## 1.实验目标

* (1)在Issues中创建自己的选题:https://github.com/hzuapps/android-labs-2018/issues
* (2)根据自选题目,编写一个或多个Activity(所有均带上学号前缀,放到自己的Java包下);
* (3)将标题设置为自己的学号+对应的功能或题目;
* (4)根据自己选择的题目实现Activity中导航、调用等功能(选做)

## 2.实验步骤
* (1)阅读实验要求:https://github.com/hzuapps/android-labs-2018/labels/Lab
* (2)在电脑上Android Studio编写代码// 代码要可以运行!
* (3)使用Git将代码提交到自己的库中:https://github.com/310341802/android-labs-2018
* $ git pull
* $ git add soft1614080902436/*
* $ git commit "#2 #989 "
* $ git push
* (4)在自己的GitHub库上创建和发送Pull Request(注意查看Changed files)
// 是否只修改了自己的文件?
* (5)在GitHub中使用Markdown文件编写实验报告(report1.md, report2.md)
// 保存在自己的文件夹下


* Android stdio感觉真难用,不是很上手,花费了较多时间掌握
18 changes: 18 additions & 0 deletions soft1614080902436/Manifest/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="soft1614080902436.androidlabs.hzuapps.edu">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".Soft1614080902436Activity"
android:label="@string/title_activity_soft1614080902436"
android:theme="@style/AppTheme.NoActionBar" />
</application>

</manifest>
1 change: 1 addition & 0 deletions soft1614080902436/Soft1614080902436Activity.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ public class Soft1614080902436Activity
public static void main(String args[])
{

v1.1;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package soft1614080902436.androidlabs.hzuapps.edu;

import android.os.Bundle;
import android.app.Activity;

public class Soft1614080902436Activity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_soft1614080902436);
}

}
9 changes: 9 additions & 0 deletions soft1614080902436/res/layout/activity_soft1614080902436.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Soft1614080902436Activity">

</android.support.constraint.ConstraintLayout>
3 changes: 3 additions & 0 deletions soft1614080902436/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="title_activity_soft1614080902436">Soft1614080902436#989</string>
</resources>

0 comments on commit ebecda5

Please sign in to comment.