Skip to content

Commit

Permalink
Merge pull request #1548 from PierceCK/master
Browse files Browse the repository at this point in the history
#3 #274 第三次实验
  • Loading branch information
zengsn authored Apr 21, 2019
2 parents e5a3f28 + d8a3340 commit 01b55cc
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,13 +1,41 @@
package androidlabs.hzuapps.ezu.soft1707080714328;

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

public class Soft1707080714328Activity extends AppCompatActivity {
public class Soft1707080714328Activity extends AppCompatActivity implements View.OnClickListener {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.soft_1707080714328_activity);
//初始化方法
intUI();
}

private void intUI() {
findViewById(R.id.ibtn_skip).setOnClickListener(this);
}

public void btn_zhuce(View view){
Toast.makeText(getApplicationContext(),"暂时无法注册,请点击右上角跳过",Toast.LENGTH_SHORT).show();
}

public void btn_denglu(View view){
Toast.makeText(getApplicationContext(),"暂时无法登录,请点击右上角跳过",Toast.LENGTH_SHORT).show();
}

@Override
public void onClick(View v) {
switch (v.getId()){
case R.id.ibtn_skip:
Intent intent = new Intent();
intent.setClass(getApplicationContext(),Soft1707080714328Activity_First.class);
this.startActivity(intent);
break;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package androidlabs.hzuapps.ezu.soft1707080714328;

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

public class Soft1707080714328Activity_First extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.soft_1707080714328_activity__first);
}
}
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,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: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="androidlabs.hzuapps.ezu.soft1707080714328.Soft1707080714328Activity_First">

<TextView
android:textSize="25dp"
android:text="这是跳过后的界面"
android:textColor="@android:color/holo_red_light"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>

0 comments on commit 01b55cc

Please sign in to comment.