Skip to content

Commit

Permalink
hzuapps#1 hzuapps#42 第一次作业
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouchenghai committed Mar 10, 2017
1 parent 9f5014e commit f175bda
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package edu.hzuapps.androidlabs.homeworks.net1414080903113;

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

import com.example.hzxy.myapplication.R;

public class Net1414080903113Activity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.net1414080903113_activity);
}
}
18 changes: 18 additions & 0 deletions AndroidLabs/app/src/main/res/layout/net1414080903113_activity.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="com.example.hzxy.myapplication.edu.hzuapps.androidlabs.homeworks.net1414080903113.Net1414080903113Activity">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!" />
</RelativeLayout>

0 comments on commit f175bda

Please sign in to comment.