Skip to content

Commit

Permalink
hzuapps#4 #1041第四次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
liyanghey committed May 31, 2018
1 parent 84a756c commit e536f72
Show file tree
Hide file tree
Showing 18 changed files with 355 additions and 24 deletions.
4 changes: 3 additions & 1 deletion soft1614080902410/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Soft1614080902410_2"></activity>
<activity android:name=".Soft1614080902410_2" />
<activity android:name=".Soft1614080902410Activity_3" />
<activity android:name=".Soft1614080902410Activity_4"></activity>
</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.example.liyang.soft1614080902410;

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

public class Soft1614080902410Activity_3 extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_soft16140809024103);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

package com.example.liyang.soft1614080902410;

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

public class Soft1614080902410Activity_4 extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_soft1614080902410_4);
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package com.example.liyang.soft1614080902410;

import android.app.Activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Soft1614080902410_2 extends AppCompatActivity {

Expand All @@ -10,6 +14,22 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_soft1614080902410_2);


final Activity thisActivity = this;
Button btnHome1 = (Button) findViewById(R.id.buttom2);
Button btnHome2 = (Button) findViewById(R.id.buttom3);
btnHome1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View vv) {
Intent intent1 = new Intent(thisActivity,Soft1614080902410Activity_4.class);
thisActivity.startActivity(intent1);
}
});
btnHome2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v1) {
Intent intent2 = new Intent(thisActivity, Soft1614080902410Activity_3.class);
thisActivity.startActivity(intent2);
}
});
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#006400"
tools:context=".Soft1614080902410Activity_3">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/ozil"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Mesut oezil
场上位置:中场
国籍:德国"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/ramsey"/>

<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="ARON RAMSEY
场上位置;中场
国籍:威尔士"
android:textSize="15dp" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/aubu"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Aubameyang
场上位置;前锋
国籍;加蓬"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/lacazette"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="LACAZETTE
场上位置;前锋
国籍;法国"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/cazorla"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="SANTI CAZORLA
场上位置;中场
国籍;西班牙"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Soft1614080902410_2">
tools:context=".Soft1614080902410_2"
android:orientation="vertical"
android:background="@drawable/ic_launcher3">

</android.support.constraint.ConstraintLayout>
<Button
android:id="@+id/buttom2"
android:layout_width="136dp"
android:layout_height="66dp"
android:gravity="center"
android:text="球队赛程"
android:layout_gravity="center_horizontal"
android:layout_marginTop="80dp"
tools:layout_editor_absoluteX="124dp"
tools:layout_editor_absoluteY="371dp" />

<Button
android:id="@+id/buttom3"
android:layout_width="136dp"
android:layout_height="66dp"
android:gravity="center"
android:text="球队球员"
android:layout_gravity="center_horizontal"
android:layout_marginTop="200dp"
tools:layout_editor_absoluteX="124dp"
tools:layout_editor_absoluteY="63dp" />
</LinearLayout>
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#006400"
tools:context=".Soft1614080902410Activity_4">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">

<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/ars" />

<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="英超第22轮
阿森纳 VS 热刺
5月19号19:35
酋长球场"
android:textSize="15dp" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/ars2"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="英超第23轮
热刺 VS 阿森纳
5月26号19:35
白鹿巷球场"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/ars3"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="欧冠决赛
巴塞罗那 VS 阿森纳
5月31号19:35
伯纳乌球场"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/ars2"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="英超第24轮
曼联 VS 阿森纳
6月3号19:35
老特拉福德球场"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<ImageView
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/ars"/>
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="英超第25轮
阿森纳 VS 切尔西
6月26号19:35
酋长球场"
android:textSize="15dp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
Loading

0 comments on commit e536f72

Please sign in to comment.