首页 > 其他分享 >3.22总结

3.22总结

时间:2023-03-22 20:11:58浏览次数:43  
标签:总结 layout parent height 3.22 android id match

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="#" method="get">
<p style="text-align:center;font-size:20px" >
地铁查询系统
<br>
<input type="button" value="线路查询" onclick="location.href='linecheck.jsp'" /><br>
<input type="button" value="站点查询" onclick="location.href='sitecheck.jsp'" /><br>
<input type="button" value="起点-终点查询" onclick="location.href='star-end.jsp'" /><br>
<br>
</p>
</form>
</body>
</html>

 

 

 

 

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>线路查询</title>
</head>
<body>
<form action="linecheck_back.jsp" method="get">
<p style="text-align:center;color: black; font-family: 宋体; font-size: 20px">
线路号
<input type="text" name="line" >
<br>
<input type="submit" value="查询" >
</p>
</form>
</body>
</html>

 

 

 

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:orientation="vertical">

<RadioGroup
android:id="@+id/rg_login"
android:layout_width="match_parent"
android:layout_height="@dimen/item_layout_height"
android:orientation="horizontal">

<RadioButton
android:id="@+id/rb_password"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:checked="true"
android:text="密码登录"
android:textColor="@color/black"
android:textSize="@dimen/common_font_size" />

<RadioButton
android:id="@+id/rb_verifycode"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="验证码登录"
android:textColor="@color/black"
android:textSize="@dimen/common_font_size" />
</RadioGroup>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/item_layout_height"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:text="手机号码:"
android:textColor="@color/black"
android:textSize="@dimen/common_font_size" />

<EditText
android:id="@+id/et_phone"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:layout_weight="1"
android:background="@drawable/editext_selector"
android:hint="请输入手机号码"
android:inputType="number"
android:maxLength="11"
android:textColor="@color/black"
android:textColorHint="@color/grey"
android:textSize="@dimen/common_font_size" />

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/item_layout_height"
android:orientation="horizontal">

<TextView
android:id="@+id/tv_password"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:text="登陆密码:"
android:textColor="@color/black"
android:textSize="@dimen/common_font_size" />

<RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">

<EditText
android:id="@+id/et_password"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:layout_weight="1"
android:background="@drawable/editext_selector"
android:hint="请输入密码"
android:inputType="numberPassword"
android:textColor="@color/black"
android:textColorHint="@color/grey"
android:textSize="@dimen/common_font_size" />

<Button
android:id="@+id/btn_forget"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:text="忘记密码"
android:textColor="@color/white"
android:textSize="@dimen/common_font_size" />

</RelativeLayout>

</LinearLayout>

<CheckBox
android:id="@+id/ck_remember"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="记住密码"
android:textColor="@color/black"
android:textSize="@dimen/common_font_size"
/>

<Button
android:id="@+id/btn_login"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="登录"
android:textColor="@color/white"
android:textSize="@dimen/button_font_size"
/>
</LinearLayout>

标签:总结,layout,parent,height,3.22,android,id,match
From: https://www.cnblogs.com/XiMenXve/p/17245294.html

相关文章

  • 2022年总结之 禅道团队扩张篇
    这是和Amy赌约的第一篇文章。2023年我们约定每周要发一篇不少于800字的文章。我比较喜欢3号,我的第一篇文章就从2023年1月3号开始(首发于公众号:代码之歌)。第一篇文章就来总结......
  • C++调试方法总结(VS Code & VS & dbg)
    一、VSCodeC++程序调试1.1配置C++运行环境安装C/C++插件后打开C++设置界面:选择编译器、c和c++标准,以及inteliSenseMode之后会在当前.vscode目录下生成一个c_cpp_......
  • MongDB知识点总结
    MongDB数据库操作显示所有数据库:showdbsshowdatabases数据库不需要创建:usestudent显示当前所在数据库db数据库不需要创建,集合不需要创建,集合中有数据,集合就创建了,......
  • 100道python基础题——(1-15总结)
    1.lisi操作①列表更新list[index]②增加元素list.append(element):append是加一个列表的值,列表可以加数字,字符串,列表,元组等list.extend(element):extend是解析一个列......
  • Linux如何查找大文件或目录总结
    [size=large][color=red]如何查找大文件[/color][/size]1.要搜索当前目录下,超过800M大小的文件find.-typef-size+800M2.对文件的信息(例如,文件大小、文件属性)一无......
  • 每日总结2023/3/21
    今天进行了Android的地铁查询操作,主要是进行了简单的前两步,线路和站点查询,并为Android安装了搜狗输入法,以保障汉字的输入。代码行大概50 优化更改textview使之高度变......
  • 每日总结 3.21
    今天进行了Android的地铁查询操作,主要是进行了简单的前两步,线路和站点查询,并为Android安装了搜狗输入法,以保障汉字的输入。代码行大概50 优化更改textview使之高度变......
  • 3.21学习总结
    2.4.3日期和时间组件(下)分类 Android基础入门教程本节引言:本节我们来继续学习Android系统给我们提供的几个原生的Date&Time组件,他们分别是:DatePicker(日期选择器),Ti......
  • 第六周星期二每日总结
     今日学习如何将Mysql数据库中的文件导入Androidstudio的SQLite数据库步骤:1.首先在idea中将mysql数据生成.csv后缀的文件(右键表->导入/导出/将数据导出到文件) 2......
  • 每日总结22
          进行了一些数字化,例如: publicStringDaLaBengBaBanDeBeiDiBuDuoBiLuWeng(inta){Stringx;switch(a){case1:x="一号线";break;case2:x="四......