Skip to content

Commit

Permalink
Merge pull request #1548 from ChaShu618/master
Browse files Browse the repository at this point in the history
#2 第二次实验 #1353
  • Loading branch information
zengsn authored May 4, 2018
2 parents b8b2a09 + 05f7b70 commit afbb9a5
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="edu.hzuapps.androidlabs.com1606081301137">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".Com1606081301137Activity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package edu.hzuapps.androidlabs.com1606081301137;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class Com1606081301137Activity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_com1606081301137);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_com1606081301137"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="edu.hzuapps.androidlabs.com1606081301137.Com1606081301137Activity">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="This is a CLOCK app created by com1606081301137" />
</RelativeLayout>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">Com1606081301137</string>
</resources>
20 changes: 20 additions & 0 deletions com1606081301137/AndroidProject/Project01/Report2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 第二次实验
## 1.实验目标
(1)在Issues中创建自己的选题:https://github.com/hzuapps/android-labs-2018/issues
(2)根据自选题目,编写一个或多个Activity(所有均带上学号前缀,放到自己的Java包下);
(3)将标题设置为Com1606081301137+对应的功能或题目;
(4)根据自己选择的题目实现Activity中导航、调用等功能(选做)
## 2.实验步骤
(1)阅读实验要求:https://github.com/hzuapps/android-labs-2018/labels/Lab
(2)在电脑上Android Studio编写代码// 代码要可以运行!
(3)使用Git将代码提交到自己的库中:https://github.com/ChaShu618/android-labs-2018 $ git pull
$ git add com1606081301137/*
$ git commit "#2 第二次实验 #1353 "
$ git push
(4)在自己的GitHub库上创建和发送Pull Request(注意查看Changed files)
(5)在GitHub中使用Markdown文件编写实验报告(report2.md)
## 3.实验结果
![image](https://raw.githubusercontent.com/ChaShu618/android-labs-2018/master/com1606081301137/AndroidProject/Project01/AndroidScreenShot01.png)
## 4.实验体会
##4.实验心得
本次实验有点复杂,大量的时间花在了Android Studio的配置及使用,因为软件一直报错。但是慢慢的,还是搞定了,还是需要多做,多注重细节。
6 changes: 6 additions & 0 deletions com1606081301137/AndroidProject/Project1/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit afbb9a5

Please sign in to comment.