Android 欢迎界面停留3秒后进入登陆页面,输入登陆信息跳转到空白页面接收展示登陆页面内容

2023-10-27

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档

目录

文章目录

一、项目准备

二、使用步骤

第一个页面

MainActivity,java代码如下(示例):

activity_main.xml布局文件代码如下: 

第二个页面

 InfoActivity,java代码如下(示例):

 activity_info.xml布局文件代码如下: 

 布局文件写完之后在drawable-hdpi 里面新建两个xml文件的shape来简单美化一下输入框跟按钮

下拉列表的默认效果是白色的所以我们在layout里面新建一个xml文件的TextView来美化下拉列表

et_border.xml输入框美化效果代码如下:

but_border.xml按钮美化效果代码如下:

item1.xml下拉列表美化效果代码如下: 

第三个页面

MainActivity,java代码如下(示例):

 activity_text.xml布局文件代码如下: 

一、项目准备

先新建一个空的android项目。里面自带一个MainActivity,再新建两个Activity分别叫做InfoActivity,TextActivity

二、使用步骤

第一个页面

MainActivity,java代码如下(示例):

import android.os.Build;
import android.os.Bundle;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.WindowManager;

public class MainActivity extends Activity {

    @TargetApi(Build.VERSION_CODES.HONEYCOMB) @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //隐藏状态栏
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
        //隐藏标题栏
        getActionBar().hide();
        setContentView(R.layout.activity_main);
        
        //开启一个线程(3秒自动跳转)
        Thread t=new Thread(new Runnable() {
            @Override
            public void run() {
                // 等待3千毫秒
                try {
                    Thread.sleep(3000);
                } catch (InterruptedException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }
                //启动第二个页面
                Intent it = new Intent(getApplicationContext(), 
                        LoinActivity.class);
                startActivity(it);
            }
        }) ;
        t.start(); 
    }
}

 getActionBar().hide();报错的话鼠标悬浮上面选择Disable Check in This File Only

activity_main.xml布局文件代码如下: 

<LinearLayout 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:background="@drawable/imager_page"
    android:orientation="vertical"
    tools:context=".MainActivity" >

</LinearLayout>

 这样我们第一个页面就完成了接着在 activity_info.xml和InfoActivity里进行第二个页面的布控和属性的添加

第二个页面

 InfoActivity,java代码如下(示例):

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.Spinner;
import android.widget.Toast;

public class InfoActivity extends Activity implements OnClickListener {
	//
	
	
	// 用户名,密码,班级
	private EditText username, psd;
    //下拉列表
	Spinner spinner;
	private  String[] items;
	// 性别
	private RadioButton rb_m, rb_w;
	// 爱好
	private CheckBox cb_1, cb_2, cb_3, cb_4;
	// 确认,取消
	Button but_1, but_2;

	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//隐藏标题
		getActionBar().hide();
		setContentView(R.layout.activity_info);
		init();
		but_1.setOnClickListener(this);

		// 下拉框
		 items = new String[] { "移动211", "移动212", "移动213", "移动214" };
		 //设置适配器进行页面和数据的链接
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(
				getApplicationContext(), R.layout.item1, items);
		spinner.setAdapter(adapter);
	}

	
	private void init() {
		// TODO Auto-generated method stub
		username = (EditText) findViewById(R.id.uesname);

		psd = (EditText) findViewById(R.id.psd);

		spinner = (Spinner) findViewById(R.id.class1);

		rb_m = (RadioButton) findViewById(R.id.rb_m);

		rb_w = (RadioButton) findViewById(R.id.rb_w);

		cb_1 = (CheckBox) findViewById(R.id.cb_1);

		cb_2 = (CheckBox) findViewById(R.id.cb_2);

		cb_3 = (CheckBox) findViewById(R.id.cb_3);

		cb_4 = (CheckBox) findViewById(R.id.cb_4);

		but_1 = (Button) findViewById(R.id.but_1);

		but_2 = (Button) findViewById(R.id.but_2);
	}

	@Override
	public void onClick(View arg0) {
		// 用户名
		String userName = "";
		userName = username.getText().toString();
		// 密码
		String Psd = "";
		Psd = psd.getText().toString();
		// 性别单选
		String sex = "";
		if (rb_m.isChecked()) {
			sex = rb_m.getText().toString();
		}
		if (rb_w.isChecked()) {
			sex = rb_m.getText().toString();
		}
		// 多选
		String fav = "";
		
		if (cb_1.isChecked()) {
			fav += cb_1.getText().toString();
		}
		if (cb_2.isChecked()) {
			fav += cb_2.getText().toString();
		}
		if (cb_3.isChecked()) {
			fav += cb_3.getText().toString();
		}
		if (cb_4.isChecked()) {
			fav += cb_4.getText().toString();
		}
		//获取到下拉列表的信息
		int i=spinner.getSelectedItemPosition();
		String spItem = items[i];
		//传值跳转
		Intent it = new Intent(getApplicationContext(), TextActivity.class);

		it.putExtra("username", userName);

		it.putExtra("psd", Psd);

		it.putExtra("sex", sex);

		it.putExtra("fav", fav);
		
		it.putExtra("spitem", spItem);
		startActivity(it);
	}
}

 activity_info.xml布局文件代码如下: 

<LinearLayout 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:orientation="vertical"
    tools:context=".LoinActivity" >
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="#293f47"
        android:gravity="center" >

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="用户注册"
            android:textColor="#fff" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50dp" >

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="right|center"
            android:textSize="18dp"
            android:text="用户名:" />

        <EditText
            android:id="@+id/uesname"
            android:layout_width="0dp"
            android:layout_height="40dp"
            android:layout_weight="2"
            android:hint="邮箱/手机号"
            android:layout_marginRight="5dp"
            android:background="@drawable/et_border" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50dp" >

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="right|center"
            android:textSize="18dp"
            android:text="密码:" />

        <EditText
            android:id="@+id/psd"
            android:layout_width="0dp"
            android:layout_height="40dp"
            android:layout_weight="2"
            android:hint="请输入您的密码"
            android:textSize="15dp"
            android:layout_marginRight="5dp"
            android:password="true"
            android:background="@drawable/et_border" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50dp" >

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="right|center"
            android:textSize="18dp"
            android:text="班级" />

        <Spinner
            android:id="@+id/class1"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50dp" >

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="right|center"
            android:textSize="18dp"
            android:text="性别" />

        <RadioGroup
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2"
            android:orientation="horizontal" >

            <RadioButton
                android:id="@+id/rb_m"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:text="男" />

            <RadioButton
                android:id="@+id/rb_w"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:text="女" />
        </RadioGroup>
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="right|center"
            android:textSize="18dp"
            android:text="爱好" />

        <RadioGroup
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="2"
            android:orientation="horizontal" >

            <CheckBox
                android:id="@+id/cb_1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="10dp"
                android:text="上网" />

            <CheckBox
                android:id="@+id/cb_2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="10dp"
                android:text="聊天" />

            <CheckBox
                android:id="@+id/cb_3"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="10dp"
                android:text="睡觉" />

            <CheckBox
                android:id="@+id/cb_4"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="10dp"
                android:text="看书" />
        </RadioGroup>
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:gravity="center" >

        <Button
            android:id="@+id/but_1"
            android:layout_width="100dp"
            android:layout_height="match_parent"
            android:background="@drawable/but_border"
            android:layout_marginRight="10dp"
            android:text="确定" />

        <Button
            android:id="@+id/but_2"
            android:layout_width="100dp"
            android:layout_height="match_parent"
            android:layout_marginLeft="10dp"
            android:background="@drawable/but_border"
            android:text="取消" />
    </LinearLayout>
</LinearLayout>

 布局文件写完之后在drawable-hdpi 里面新建两个xml文件的shape来简单美化一下输入框跟按钮

下拉列表的默认效果是白色的所以我们在layout里面新建一个xml文件的TextView来美化下拉列表

et_border.xml输入框美化效果代码如下:

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
    <corners android:radius="15dp"/>
    <solid android:color="#fff"/>
    <stroke android:width="2dp" android:color="#0093c9"/>
    
</shape>

but_border.xml按钮美化效果代码如下:

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
    <corners android:radius="15dp"/>
    <solid android:color="#115b11"/>
    <stroke android:width="2dp" android:color="#009300"/>
    
</shape>

item1.xml下拉列表美化效果代码如下: 

<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
    

</TextView>

 这样我们第二个页面就完成了接着在TextActivity里进行接收展示第二个页面的传递过来的数据

第三个页面

MainActivity,java代码如下(示例):

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.widget.TextView;
import android.widget.Toast;

public class TextActivity extends Activity {
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_text);
		//获取山歌页面的数据
		Intent it = getIntent();
		String userName =it.getStringExtra("username");
		String Psd =it.getStringExtra("psd");
		String sex =it.getStringExtra("sex");
		String fav =it.getStringExtra("fav");
		String spitem =it.getStringExtra("spitem");
		//用string 整合转递过来的数据
		String st=userName+":"+Psd+":"+sex+":"+fav+":"+spitem;
		//吐司
		Toast.makeText(getApplicationContext(), st, 0);
		//展示整合之后的内容
		TextView tvShow=(TextView) findViewById(R.id.tv_show);
		tvShow.setText(st);
	}
}

 activity_text.xml布局文件代码如下: 

<LinearLayout 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"
    tools:context=".TextActivity" >

    <TextView
        android:id="@+id/tv_show"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/hello_world" />

</LinearLayout>


本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Android 欢迎界面停留3秒后进入登陆页面,输入登陆信息跳转到空白页面接收展示登陆页面内容 的相关文章

  • Android webview 滚动不起作用

    我正在尝试在网络视图中向下滚动到页面底部 我正在使用谷歌在其教程中提供的网络视图示例 我正在使用这行代码来尝试滚动 但它不起作用 mWebView pageDown true 关于如何使其以编程方式滚动有什么建议吗 谢谢 public cl
  • 如何强制 Eclipse 将 xml 布局和样式显示为文本?

    我最近升级到带有 ADT 20 0 3 的 Eclipse 4 2 Juno 如果我查看旧项目中的布局或样式 Eclipse 只会向我显示其适当的基于控件的编辑器 我想编辑语法突出显示的 xml 文本 我没有找到将插件的编辑器切换到此模式的
  • Android 在打开应用程序时会广播吗?

    例如 如果我想知道Youtube何时打开 是否有与之相关的广播 我当然知道我可以轮询 logcat 消息来检查活动 但我可以通过广播来做到这一点吗 因为它会少得多的耗电 此链接似乎表明这是不可能的 如何跟踪 Android 中的应用程序使用
  • Android 上的 SVG 支持

    Android 支持 SVG 吗 有什么例子吗 最完整的答案是这样的 Android 2 x 默认浏览器本身不支持 SVG Android 3 默认浏览器支持 SVG 要将 SVG 支持添加到 2 x 版本的平台 您有两个基本选择 安装功能
  • 自定义选择器活动:SecurityException UID n 无权 content:// uri

    我正在构建一个选择器应用程序来替换本机 Android 共享对话框 它工作正常 除非我尝试通过长按图像 gt 共享图像从 Chrome 共享图像 我发现 Google 没有捕获异常 它崩溃了 所以我可以通过 Logcat 查看它 在 Goo
  • 从 Android 代码设置的 SECRET_CODE

    我知道如何使用清单文件中的秘密代码 它与此源代码配合良好
  • 播放 SoundCloud 曲目

    我可以在 Android 应用程序中播放 SoundCloud 中的曲目吗 我正在尝试这段代码 但它不起作用 String res https api soundcloud com tracks 84973999 stream client
  • 如何在android上的python kivy中关闭应用程序后使服务继续工作

    我希望我的服务在关闭应用程序后继续工作 但我做不到 我听说我应该使用startForeground 但如何在Python中做到这一点呢 应用程序代码 from kivy app import App from kivy uix floatl
  • 调试:在 Android 1.0 中找不到文件

    今天我更新到 Android Studio v 1 0 在尝试编译任何项目时出现以下错误 app build intermediates classes debug 找不到文件 问题是在更新之前我没有任何问题 这是我实际尝试编译的代码 构建
  • 如何在React Native Android中获取响应头?

    您好 我想在获取 POST 请求后获取响应标头 我尝试调试看看里面有什么response with console log response 我可以从以下位置获取响应机构responseData但我不知道如何获取标题 我想同时获得标题和正文
  • Android在排序列表时忽略大小写

    我有一个名为路径的列表 我目前正在使用以下代码对字符串进行排序 java util Collections sort path 这工作正常 它对我的 列表进行排序 但是它以不同的方式处理第一个字母的情况 即它用大写字母对列表进行排序 然后用
  • Android Studio:未找到 Gradle DSL 方法:“classpath()”

    首先 我已阅读所有其他解决方案帖子以及有关迁移到 1 0 的官方文档 到目前为止 还没有任何效果 Error Error 23 0 Gradle DSL method not found classpath Possible causes
  • 获取手机的 z 轴和磁北极(而不是 y 轴)之间的角度

    我知道如何使用 getOrientation 方法获取手机 y 轴和磁北之间的方向角 如此处所述https developer android com guide topics sensors sensors position https
  • 画透明圆,外面填充

    我有一个地图视图 我想在其上画一个圆圈以聚焦于给定区域 但我希望圆圈倒转 也就是说 圆的内部不是被填充 而是透明的 其他所有部分都被填充 请参阅这张图片了解我的意思 http i imgur com zxIMZ png 上半部分显示了我可以
  • Android 相机未保存在特定文件夹 [MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA]

    当我在 Intent 中使用 MediaStore INTENT ACTION STILL IMAGE CAMERA 时遇到问题 相机正常启动 但它不会将文件保存在我的特定文件夹 photo 中 但是当我使用 MediaStore ACTI
  • 如何在 Viewpager 中禁用预加载下一页? [复制]

    这个问题在这里已经有答案了 如何在 Viewpager 中禁用页面预加载 I tried viewPager setOffscreenPageLimit 0 但它不起作用 用这个viewPager setOffscreenPageLimit
  • java.lang.NumberFormatException: Invalid int: "3546504756",这个错误是什么意思?

    我正在创建一个 Android 应用程序 并且正在从文本文件中读取一些坐标 我在用着Integer parseInt xCoordinateStringFromFile 将 X 坐标转换为整数 Y 坐标的转换方法相同 当我运行该应用程序时
  • Android studio - 如何查找哪个库正在使用危险权限?

    我正在尝试将 apk 上传到 google play 商店 但令我惊讶的是 我正在使用以下权限 Your APK is using permissions that require a privacy policy android perm
  • 如何在基本活动中使用 ViewBinding 的抽象?

    我正在创建一个基类 以便子级的所有绑定都将设置在基类中 我已经做到了这一点 abstract class BaseActivity2 b AppCompatActivity private var viewBinding B null pr
  • 使用单选按钮更改背景颜色 Android

    我试图通过从单选组中选择单选按钮来更改应用程序选项卡的背景 但是我不确定如何执行此操作 到目前为止我已经 收藏夹 java import android app Activity import android os Bundle publi

随机推荐

  • WJ的Direct3D简明教程2:Render-To-Texture

    转载请注明 来自http blog csdn net skyman 2001 Rendering to a texture is one of the advanced techniques in Direct3D On the one h
  • Unity绘制户型(一)

    户型绘制主要对象数据 点 线 面 部件 门窗 主要难点是通过绘制的点寻找闭合多边形 多边形的生成 3D墙体的生成 门窗要在墙体上留下孔洞这四个功能 这篇文章我只写前两个问题 后面来两个问题单独再写一篇文章 1 如何寻找闭合多边形 我的方法是
  • 内容管理系统测试实战

    使用django和restframework开发接口 使用postman测试接口 使用unittest和requests模块测试接口 目录 Django安装 Django Rest Framework 创建API应用 数据库迁移 创建超级管
  • C++11中pair的用法

    概述 pair可以将两个数据组合成一种数据类型 C 标准库中凡是必须返回两个值的函数都使用pair pair有两个成员变量 分别是first和second 由于使用的struct而不是class 因此可以直接访问pair的成员变量 基本用法
  • Python_某宝某东秒杀抢购

    纯学习分享 只用于学习用途 请勿用于任何商业用途 本人不承担任何责任 视频编写过程 某宝秒杀程序 某宝源码 from selenium import webdriver from selenium webdriver common by i
  • springboot配置shiro多项目实现session共享的详细步骤

    springboot配置shiro多项目实现session共享的详细步骤 项目的配置步骤我已写到另一篇文章中 shiro框架 多项目登录访问共享session的实现 springboot redis shiro 的实现项目已共享到GitHu
  • 关于Tomcat端口被占用的情况

    今天打开eclipse突然发现运行不了 报错的提示为 Several ports 8005 8080 8009 required by Tomcat v7 0 Server at localhost are already in use 有
  • Android studio遇到问题:Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

    前言 在使用android studio时 配置模拟器的时候一直在报错这个 然后网上找到问题 并实际解决了问题 在这里记录下 目录 问题原因 没有配置环境的情况下 是因为他默认找的是这个路径的AVD 问题很明显了 中文路径导致的 C Use
  • Vue路由 传参几种方式

    动态路由传参 path detail username name a component gt import components Detail vue
  • windows server 2012 安装gooderp

    概述 这是我安装的第一个erp系统 为什么选择gooderp 因为它是开源的 个人认为还是不错的一个erp系统 windows上安装完全是傻瓜式的安装 介绍下环境 我使用的是阿里云的windows server 2012 为了安全呢最好更新
  • 前端浏览器常见兼容性问题及解决方案

    目录 1 最常见的 每个浏览器的默认margin padding大小都不同 当设置定位时会有些许差异 2 图片默认有间距 当几个img标签放到一起时 有些浏览器会有默认间距 加上第一条的设置的通配符样式也无用 3 min height问题
  • mc服务器查看死亡位置,我的世界查询死亡地点指令

    发布时间 2016 06 01 很多朋友在玩我的世界这款游戏时总会有各种意外死亡发生 今天蚕豆网小编带给大家的是我的世界死亡后怎么才能使东西不掉落的方法 游戏中的设定死亡后 你身上的物品会掉落在地上 需要快速的捡回 要不然东西就会消失 那么
  • goto语句在工作当中的用法

    前言 goto语句在C语言编程中是比较少用的 在学习C语言时老师也告诉要少用 有的甚至说别用 后来再工作当中 看到了前辈写的代码里用了goto语句 顿时感到goto语句的精妙 遂在此记录 goto语句能使用 不过要慎用 应为C语言的代码中大
  • 爬虫:json()数据解析(Request Method:GET)

    有一些网页会直接把所有的关键信息都放在HTML中请求 尤其是一些比较老 或比较轻量 的网站 我们用requests和BeautifulSoup就能解决它们 比如豆瓣 而有些数据请求则通过Fetch XHR传送 这些数据并不能直接在HTML页
  • Git 常用命令大全

    一 Git 常用命令速查 git branch 查看本地所有分支git status 查看当前状态 git commit 提交 git branch a 查看所有的分支git branch r 查看远程所有分支git commit am i
  • openssl RSA基本加密解密

    include
  • 【计算机毕业文章】垃圾分类系统设计与实现

    毕业论文 题目 垃圾分类系统 目 录 摘 要 1 前 言 3 第1章 概述 4 1 1 研究背景 4 1 2 研究目的 4 1 3 研究内容 4 第二章 开发技术介绍 5 2 1Java技术 6 2 2 Mysql数据库 6 2 3 B S
  • Intellij IDEA 安装jnetpcap开发环境与 no jnetpcap in java.library.path 的解决方案

    jnetpcap是libpcap的一个java完整封装 这篇博客就是讲解如何能够使用Intellij IDEA来编写jnetpcap 这篇博客分为四个部分 安装必要的开发环境 添加jnetpcap的jar包 测试导入包 解决java lan
  • 如何解决Python中的RuntimeWarning: invalid value encountered in double_scalars问题

    在写代码计算类皮尔森相关系数的计算时遇到如下警告 RuntimeWarning invalid value encountered in double scalars 相关的代码段如下 在下面的语句的执行过程中出现上述提示 id col t
  • Android 欢迎界面停留3秒后进入登陆页面,输入登陆信息跳转到空白页面接收展示登陆页面内容

    提示 文章写完后 目录可以自动生成 如何生成可参考右边的帮助文档 目录 文章目录 一 项目准备 二 使用步骤 第一个页面 MainActivity java代码如下 示例 activity main xml布局文件代码如下 第二个页面 In