Skip to content

Commit

Permalink
Merge pull request #405 from aflyingwood/master
Browse files Browse the repository at this point in the history
#2 #363 第二次实验
  • Loading branch information
zengsn authored Mar 14, 2019
2 parents a1189d8 + d3f40dd commit 1616f89
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 0 deletions.
5 changes: 5 additions & 0 deletions students/soft1714080902126/Soft1714080902126.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public class Com1714080902126Activity {
public static void main(String[] args) {
System.out.println("Hello,Android World!");
}
}
23 changes: 23 additions & 0 deletions students/soft1714080902126/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.fandian">

<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.soft1714080902126.Soft1714080902126Activity"></activity>
<activity android:name=".edu.hzuapps.androidlabs.soft123456.Soft1714080902126Activity" />
<activity android:name=".MainActivity">
<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,19 @@
package edu.hzuapps.androidlabs.soft1714080902126;

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

import com.example.fandian.R;

public class Soft1714080902126Activity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_soft2);

System.out.println("onCreate");
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?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:id="@+id/饭店点餐"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".edu.hzuapps.androidlabs.soft123456.Soft1714080902126Activity">

<android.support.constraint.Barrier
android:id="@+id/barrier"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="left"
tools:layout_editor_absoluteX="411dp" />

<android.support.constraint.Guideline
android:id="@+id/guideline2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_end="391dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="饭店点餐系统!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">饭店点餐</string>
</resources>

0 comments on commit 1616f89

Please sign in to comment.