-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from 1414080903124/master
- Loading branch information
Showing
8 changed files
with
169 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...java/edu/hzuapps/androidlabs/homeworks/Net1414080903124/Net1414080903124drawActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package edu.hzuapps.androidlabs.homeworks.net1414080903124; | ||
|
||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
|
||
import edu.hzuapps.androidlabs.R; | ||
|
||
public class Net1414080903124drawActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_net1414080903124draw); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ava/edu/hzuapps/androidlabs/homeworks/Net1414080903124/Net1414080903124queryActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package edu.hzuapps.androidlabs.homeworks.net1414080903124; | ||
|
||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
|
||
import edu.hzuapps.androidlabs.R; | ||
|
||
public class Net1414080903124queryActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_net1414080903124query); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
.../edu/hzuapps/androidlabs/homeworks/Net1414080903124/Net1414080903124transferActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package edu.hzuapps.androidlabs.homeworks.net1414080903124; | ||
|
||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
|
||
import edu.hzuapps.androidlabs.R; | ||
|
||
public class Net1414080903124transferActivity extends AppCompatActivity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_net1414080903124transfer); | ||
} | ||
} |
37 changes: 29 additions & 8 deletions
37
AndroidLabs/app/src/main/res/layout/activity_net1414080903124.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:id="@+id/activity_net1414080903124" | ||
android:layout_width="match_parent" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context="edu.hzuapps.androidlabs.homworks.net1414080903124.Net1414080903124Activity"> | ||
tools:context="edu.hzuapps.androidlabs.homeworks.net1414080903124.Net1414080903124Activity" | ||
android:weightSum="1" | ||
android:orientation="vertical"> | ||
|
||
<Button | ||
android:text="余额查询" | ||
android:layout_width="344dp" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/button1" | ||
android:onClick="click1"/> | ||
|
||
<Button | ||
android:text="取款" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/button2" | ||
android:onClick="click3"/> | ||
|
||
<Button | ||
android:text="转账" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/button3" | ||
android:layout_width="match_parent" | ||
android:onClick="click2" /> | ||
|
||
</LinearLayout> | ||
|
||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Hello World!" /> | ||
</RelativeLayout> |
29 changes: 29 additions & 0 deletions
29
AndroidLabs/app/src/main/res/layout/activity_net1414080903124draw.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?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_04" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context="edu.hzuapps.androidlabs.homeworks.net1414080903124.Net1414080903124drawActivity"> | ||
<EditText | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textPersonName" | ||
android:ems="10" | ||
android:id="@+id/editText2" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentStart="true" | ||
android:hint="请输入取款数目" /> | ||
|
||
<Button | ||
android:text="确定" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@+id/editText2" | ||
android:layout_alignParentStart="true" | ||
android:id="@+id/button4" /> | ||
</RelativeLayout> |
19 changes: 19 additions & 0 deletions
19
AndroidLabs/app/src/main/res/layout/activity_net1414080903124query.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?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_net1414080903124query" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context="edu.hzuapps.androidlabs.homeworks.net1414080903124.Net1414080903124queryActivity"> | ||
<TextView | ||
android:text="该账户余额为:" | ||
android:layout_width="match_parent" | ||
android:layout_height="20dp" | ||
android:id="@+id/textView" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentStart="true" /> | ||
</RelativeLayout> |
29 changes: 29 additions & 0 deletions
29
AndroidLabs/app/src/main/res/layout/activity_net1414080903124transfer.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?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_03" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingBottom="@dimen/activity_vertical_margin" | ||
android:paddingLeft="@dimen/activity_horizontal_margin" | ||
android:paddingRight="@dimen/activity_horizontal_margin" | ||
android:paddingTop="@dimen/activity_vertical_margin" | ||
tools:context="edu.hzuapps.androidlabs.homeworks.net1414080903124.Net1414080903124transferActivity"> | ||
<EditText | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="number" | ||
android:ems="10" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentStart="true" | ||
android:id="@+id/editText" | ||
android:hint="请输入转账数目" /> | ||
|
||
<Button | ||
android:text="确定" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/button" | ||
android:layout_below="@+id/editText" | ||
android:layout_alignParentStart="true" /> | ||
</RelativeLayout> |