Skip to content

Commit

Permalink
Merge pull request #1216 from vcicis/master
Browse files Browse the repository at this point in the history
#2 实验二
  • Loading branch information
zengsn authored Apr 4, 2019
2 parents b81c171 + 82813bd commit 4a4a369
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
21 changes: 21 additions & 0 deletions students/soft1714080902337/实验2/AndroidManifest.xml
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.myapplication">

<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="edu.hzuapps.androidlabs.soft1714080902337.Soft1714080902337Activity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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

</manifest>
16 changes: 16 additions & 0 deletions students/soft1714080902337/实验2/Soft1714080902337Activity.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package edu.hzuapps.androidlabs.soft1714080902337;

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

import com.example.myapplication.R;


public class Soft1714080902337Activity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_soft1714080902337);
}
}
18 changes: 18 additions & 0 deletions students/soft1714080902337/实验2/soft_1714080902337_activity.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".soft1714080902337"
android:orientation="vertical">

<TextView
android:layout_width="match_parent"
android:layout_gravity="center"
android:layout_height="match_parent"
android:text="苏轼的词"
android:textSize="60dp"
android:textAppearance="@style/TextAppearance.AppCompat.Widget.Button.Colored"
/>
</LinearLayout>
3 changes: 3 additions & 0 deletions students/soft1714080902337/实验2/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="古诗">My Application</string>
</resources>

0 comments on commit 4a4a369

Please sign in to comment.