Commit 1aeb024 1 parent 1c83a32 commit 1aeb024 Copy full SHA for 1aeb024
File tree 2 files changed +30
-3
lines changed
java/edu/hzuapps/androidlabs/homeworks/net1414080903103
2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 1
- public class net1414080903103Activity {
2
- public static void main (String [] arys )
3
- {System .out .println ("hello wold" );}}
1
+ package com .example .hepengji .myapplication ;
2
+
3
+ import android .support .v7 .app .AppCompatActivity ;
4
+ import android .os .Bundle ;
5
+
6
+ public class Net1414080903103Activity extends AppCompatActivity {
7
+
8
+ @ Override
9
+ protected void onCreate (Bundle savedInstanceState ) {
10
+ super .onCreate (savedInstanceState );
11
+ setContentView (R .layout .activity_net1414080903103 );
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : tools =" http://schemas.android.com/tools"
4
+ android : id =" @+id/activity_net1414080903103"
5
+ android : layout_width =" match_parent"
6
+ android : layout_height =" match_parent"
7
+ android : paddingBottom =" @dimen/activity_vertical_margin"
8
+ android : paddingLeft =" @dimen/activity_horizontal_margin"
9
+ android : paddingRight =" @dimen/activity_horizontal_margin"
10
+ android : paddingTop =" @dimen/activity_vertical_margin"
11
+ tools : context =" com.example.hepengji.myapplication.Net1414080903103Activity" >
12
+
13
+ <TextView
14
+ android : layout_width =" wrap_content"
15
+ android : layout_height =" wrap_content"
16
+ android : text =" Hello World!" />
17
+ </RelativeLayout >
You can’t perform that action at this time.
0 commit comments