Skip to content

Commit

Permalink
hzuapps#3 hzuapps#882 第3次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
545072985 committed Apr 15, 2018
1 parent 1a564d7 commit 29bc869
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
25 changes: 25 additions & 0 deletions AndroidStudioProjects/soft1614080902204/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.hzu.soft1614080902204">

<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=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Soft1614080902204Activity"
android:label="@string/title_activity_soft1614080902204"
android:theme="@style/AppTheme.NoActionBar"></activity>
</application>

</manifest>
13 changes: 13 additions & 0 deletions AndroidStudioProjects/soft1614080902204/MainActivity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.example.hzu.soft1614080902204;

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

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
18 changes: 18 additions & 0 deletions AndroidStudioProjects/soft1614080902204/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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="com.example.hzu.soft1614080902204.MainActivity">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />

</android.support.constraint.ConstraintLayout>
4 changes: 4 additions & 0 deletions AndroidStudioProjects/soft1614080902204/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<resources>
<string name="app_name">soft1614080902204</string>
<string name="title_activity_soft1614080902204">Soft1614080902204Activity</string>
</resources>

0 comments on commit 29bc869

Please sign in to comment.