Skip to content

Commit

Permalink
hzuapps#4 hzuapps#129 第四次作业
Browse files Browse the repository at this point in the history
  • Loading branch information
14YuQingBin committed May 19, 2017
1 parent 32ca578 commit 61eb62b
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_net1414080903130_employees);

Button yuangongreturn = (Button)findViewById(R.id.enroll_return);
Button yuangongreturn = (Button)findViewById(R.id.employees_return);
yuangongreturn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/cusstomer">
android:background="@drawable/customer">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -39,7 +39,8 @@
android:orientation="horizontal"
android:layout_marginTop="140dp"
android:layout_alignParentStart="true"
android:layout_marginStart="39dp">
android:layout_marginStart="39dp"
android:layout_alignParentLeft="true">
<TextView
android:layout_marginRight="1dp"
android:layout_marginLeft="26dp"
Expand Down Expand Up @@ -178,15 +179,17 @@
android:layout_height="wrap_content"
android:text="登记"
android:layout_marginTop="400dp"
android:layout_marginStart="220dp"/>
android:layout_marginStart="220dp"
android:layout_marginLeft="220dp" />

<Button
android:id="@+id/customer_return"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="返回"
android:layout_marginStart="65dp"
android:layout_marginTop="400dp" />
android:layout_marginTop="400dp"
android:layout_marginLeft="65dp" />

</RelativeLayout>

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/enployee">
android:background="@drawable/employees">

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -39,7 +39,8 @@
android:orientation="horizontal"
android:layout_marginTop="135dp"
android:layout_alignParentStart="true"
android:layout_marginStart="39dp">
android:layout_marginStart="39dp"
android:layout_alignParentLeft="true">
<TextView
android:layout_marginRight="1dp"
android:layout_marginLeft="26dp"
Expand Down Expand Up @@ -156,7 +157,8 @@
android:text="员工信息"
android:textSize="28dp"
android:layout_marginStart="25dp"
android:layout_centerHorizontal="true"/>
android:layout_centerHorizontal="true"
android:layout_marginLeft="25dp" />

<Button
android:id="@+id/employees_input"
Expand All @@ -166,7 +168,9 @@
android:layout_alignBaseline="@+id/employees_return"
android:layout_alignBottom="@+id/employees_return"
android:layout_alignEnd="@+id/linearLayout"
android:layout_marginEnd="27dp" />
android:layout_marginEnd="27dp"
android:layout_marginRight="27dp"
android:layout_alignRight="@+id/linearLayout" />

</RelativeLayout>

Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
android:orientation="horizontal"
android:layout_marginTop="135dp"
android:layout_alignParentStart="true"
android:layout_marginStart="39dp">
android:layout_marginStart="39dp"
android:layout_alignParentLeft="true">
<TextView
android:layout_marginRight="1dp"
android:layout_marginLeft="26dp"
Expand Down Expand Up @@ -121,7 +122,8 @@
android:text="账号注册"
android:textSize="28dp"
android:layout_marginStart="25dp"
android:layout_centerHorizontal="true"/>
android:layout_centerHorizontal="true"
android:layout_marginLeft="25dp" />

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -166,7 +168,9 @@
android:layout_marginEnd="24dp"
android:layout_alignBaseline="@+id/enroll_return"
android:layout_alignBottom="@+id/enroll_return"
android:layout_alignEnd="@+id/linearLayout2" />
android:layout_alignEnd="@+id/linearLayout2"
android:layout_alignRight="@+id/linearLayout2"
android:layout_marginRight="24dp" />

</RelativeLayout>

0 comments on commit 61eb62b

Please sign in to comment.