-
Notifications
You must be signed in to change notification settings - Fork 332
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 #1264 from li763407418/master
- Loading branch information
Showing
6 changed files
with
93 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.
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,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.example.lenovo"> | ||
|
||
<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=".Soft1614080902325Activity"> | ||
<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
soft1614080902325/java/edu/hzuapps/androidlabs/Soft1614080902325Activity.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 com.example.lenovo; | ||
|
||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
|
||
public class Soft1614080902325Activity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_soft1614080902325); | ||
} | ||
} |
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,36 @@ | ||
# 第二次实验 | ||
|
||
## 1. 实验目的 | ||
Android组件编程 | ||
## 2. 实验步骤 | ||
1、在Issues中创建自己的选题:https://github.com/hzuapps/android-labs-2018/issues ; | ||
2、然后打开Android Studio建立一个project。 | ||
3、根据自选题目,编写一个或多个Activity(所有均带上学号前缀,放到自己的Java包下); | ||
然后按照要求,把相应的文件放到自己的包下面。 | ||
app | ||
- src | ||
-- main | ||
--- AndroidManifest.xml (第1个文件) | ||
--- java | ||
---- edu / hzuapps / androidlabs / Soft学号 / Soft学号Activity.java (第2个文件) | ||
--- res | ||
---- layout | ||
----- soft_学号_activity.xml (第3个文件) | ||
---- values | ||
----- strings.xml (第4个文件) | ||
4、然后将文件push上去,编写将标题设置为自己的学号+对应的功能或题目; | ||
|
||
|
||
|
||
## 3. 实验结果 | ||
|
||
 | ||
|
||
|
||
## 4. 实验体会 | ||
首先有一些很想很想说的,就是实验室里面的电脑是真的受不了,老师在用红蜘蛛讲课切换各种页面讲解实验怎么做的时候, | ||
我的电脑可能缓冲问题就会出现卡顿,几个页面的内容出现重叠的状况。而且在老师讲解完让我们自行做实验的时候,我的 | ||
电脑显示是有网络,但是什么网页都打不开,造成我就是根本不知道要做什么,又浪费了时间。这次实验要提交的东西我都 | ||
是通过查看别的通过的同学的库的文件才知道的。 | ||
|
||
**加粗**常规 |
20 changes: 20 additions & 0 deletions
20
soft1614080902325/res/layout/activity_soft1614080902325.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"?> | ||
<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=".Soft1614080902325Activity"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Hello World!" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintHorizontal_bias="0.532" | ||
app:layout_constraintLeft_toLeftOf="parent" | ||
app:layout_constraintRight_toRightOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintVertical_bias="0.414" /> | ||
|
||
</android.support.constraint.ConstraintLayout> |
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">同乡会通讯录</string> | ||
</resources> |