Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#27-提交实验3 #276

Merged
merged 1 commit into from
Apr 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.example.lwj_pc.my_classwork;

import android.app.Activity;
import android.os.Bundle;

/**
* Created by LWJ-PC on 2016/4/19.
*/
public class Com1314080901221Activity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_com1314080901221_main);
}

@Override
protected void onDestroy() {
super.onDestroy();
}

}

This file was deleted.

26 changes: 26 additions & 0 deletions app/src/main/res/layout/activity_com1314080901221_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:text="开始设计界面!"
android:textSize="30sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"/>
<TextView
android:text="先提交实验先。"
android:textSize="20sp"
android:layout_marginTop="20dp"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:text="点我"
android:layout_gravity="center"
android:layout_margin="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</LinearLayout>