-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1548 from ChaShu618/master
- Loading branch information
Showing
7 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions
20
com1606081301137/AndroidProject/Project01/Com1606081301137/app/src/main/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
13 changes: 13 additions & 0 deletions
13
.../app/src/main/java/edu/hzuapps/androidlabs/com1606081301137/Com1606081301137Activity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...dProject/Project01/Com1606081301137/app/src/main/res/layout/activity_com1606081301137.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
3 changes: 3 additions & 0 deletions
3
...06081301137/AndroidProject/Project01/Com1606081301137/app/src/main/res/values/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<resources> | ||
<string name="app_name">Com1606081301137</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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的配置及使用,因为软件一直报错。但是慢慢的,还是搞定了,还是需要多做,多注重细节。 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.