首页 > 其他分享 >冲刺04

冲刺04

时间:2024-06-16 18:44:15浏览次数:16  
标签:xml login 冲刺 04 activity

activity_login.xml

<?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"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:padding="20dp">
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="童语者"
        android:textSize="40dp"
        android:layout_marginBottom="25dp"/>
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:text="登录"
        android:textSize="30dp"
        android:layout_marginBottom="25dp"/>
    <EditText
        android:id="@+id/et_username"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="用户名"/>
    <EditText
        android:id="@+id/et_password"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="密码"/>


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal">
        <CheckBox
            android:id="@+id/lg_remPassword"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="5dp"
            android:text="记住密码"/>
        <CheckBox
            android:id="@+id/lg_autoLogin"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="5dp"
            android:text="自动登录"/>
    </LinearLayout>

    <Button
        android:id="@+id/et_loginbut"
        android:background="@drawable/button"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="10dp"
        android:text="登录" />

    <Button
        android:id="@+id/et_registerbut"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/button"
        android:text="注册" />
    
</LinearLayout>

 

标签:xml,login,冲刺,04,activity
From: https://www.cnblogs.com/aixin52129211/p/18251041

相关文章

  • 冲刺05
    activity_parent.xml<?xmlversion="1.0"encoding="UTF-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"android:layo......
  • 冲刺07
    fragment_reg_parent_fill_inf.xml<?xmlversion="1.0"encoding="utf-8"?><FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"androi......
  • 冲刺06fragment_reg_chi_fil_inf.xml
    <?xmlversion="1.0"encoding="utf-8"?><FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent&......
  • Nginx设置缓存后,访问网页404 问题原因及解决方案(随手记)
    原文链接:Nginx设置缓存后,访问网页404问题原因及解决方案(随手记)_nginx的html文件地址修改后404-CSDN博客 目录问题描述Nginx文件解决方案查看error_log日志问题原因修改文件并测试Nginx文件测试总结问题描述在Nginx中设置缓存expires后,结果重启nginx,网站访问404了。Nginx文件s......
  • 04构建之法阅读笔记之一
    《构建之法》阅读笔记主题和核心观点《构建之法》是一本关于创新和设计思维的书籍,由作者某某撰写。书中主要探讨了如何通过系统性的方法构建新的想法和解决方案,以及如何将创意转化为实际的成果。以下是对这本书的阅读笔记:关键观点总结系统性创新方法:书中强调了系统性思维在......
  • 构建之法阅读笔记04
    个人感受:问题:自己做的软件只是按照自己的想法来,没有考虑用户的想法,以及其中的最基本的用户没有提出的要求,没有考虑实际的情况。书中提到了用户体验和软件测试这两部分,只有满足用户的体验,才能是好软件。解决方法,在以后的软件制作过程中应该考虑人的感受,注重实际情况,不可一味的追......
  • OCP-043之:数据库备份操作
    1RMAN备份操作1.1基本操作基本的控制和数据文件备份RMAN>CONFIGURECONTROLFILEAUTOBACKUPFORMATFORDEVICETYPEDISKTO'/tmp/backup/cs_%F';newRMANconfigurationparameters:CONFIGURECONTROLFILEAUTOBACKUPFORMATFORDEVICETYPEDISKTO'/tmp/bac......
  • 五一冲刺(政策查询系统)1
    今日课上的政策查询系统极限测试寥寥草草将功能实现了,把内部代码进行完善一下完整代码:index.jsp<%@pagecontentType="text/html;charset=UTF-8"language="java"%><!DOCTYPEhtml><htmllang="en"xmlns:th="http://www.thymeleaf.org"><......
  • 五一冲刺(政策查询系统)2
    packageDao;importBean.Menu;importBean.bean;importBean.policy;importDBUtil.dbutil;importorg.apache.ibatis.io.Resources;importorg.apache.ibatis.session.SqlSession;importorg.apache.ibatis.session.SqlSessionFactory;importorg.apache.ibatis.ses......
  • 04人月神话阅读笔记
    贵族专制、民主政治和系统设计(Aristocracy,Democracy, andSystem Design)本章节探讨了贵族专制和民主政治在系统设计中的比喻,特别是如何确保系统设计的概念完整性。作者使用大教堂的建筑与计算机系统设计之间的对比来阐述这一点。大教堂的一致性与系统设计的类比:文章首先比......