首页 > 其他分享 >6.10博客

6.10博客

时间:2024-06-16 20:32:35浏览次数:13  
标签:放松 安卓 6.10 博客 进入状态 考试

放松也放松完了

快考试了进入状态了该

学习内容:安卓

<?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:background="#66BB"         tools:context=".LoginActivity">     <LinearLayout         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_centerHorizontal="true"         android:minWidth="300dp"         android:layout_centerVertical="true"         android:orientation="vertical"         android:gravity="bottom">         <LinearLayout             android:layout_width="match_parent"             android:layout_height="match_parent"             android:orientation="vertical">             <LinearLayout                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:orientation="horizontal">                 <TextView                     android:layout_width="0dp"                     android:layout_height="match_parent"                     android:layout_weight="1"/>                 <TextView                     android:id="@+id/textview_login"                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:text="登录"                     android:textSize="25sp"                     android:textStyle="bold"                     android:background="@drawable/shape_rectangle_textview"/>                 <TextView                     android:layout_width="0dp"                     android:layout_height="match_parent"                     android:layout_weight="1"/>             </LinearLayout>         </LinearLayout>         <TextView             android:layout_width="0dp"             android:layout_height="match_parent"             android:layout_weight="1">         </TextView>         <LinearLayout             android:layout_width="match_parent"             android:layout_height="match_parent"             android:orientation="vertical">             <LinearLayout                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:layout_margin="15dp"                 android:orientation="horizontal">                 <TextView                     android:layout_width="wrap_content"                     android:layout_height="match_parent"                     android:text="账号:"                     android:textColor="#000000"                     android:textStyle="bold"                     android:textSize="15sp"                     android:gravity="center"                     android:background="@drawable/shape_oval_textview"/>                 <EditText                     android:id="@+id/editText_username"                     android:layout_width="match_parent"                     android:layout_height="match_parent"                     android:inputType="text"                     android:maxLength="9"                     android:hint="请输入用户名"                     android:textColorHint="#999999"                     android:background="@drawable/shape_round_rectangle"/>             </LinearLayout>             <LinearLayout                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:layout_margin="15dp"                 android:orientation="horizontal">                 <TextView                     android:layout_width="wrap_content"                     android:layout_height="match_parent"                     android:text="密码:"                     android:textColor="#000000"                     android:textStyle="bold"                     android:textSize="15sp"                     android:gravity="center"                     android:background="@drawable/shape_oval_textview"/>                 <EditText                     android:id="@+id/editText_password"                     android:layout_width="match_parent"                     android:layout_height="match_parent"                     android:inputType="numberPassword"                     android:maxLength="9"                     android:hint="请输入密码"                     android:textColorHint="#999999"                     android:background="@drawable/shape_round_rectangle"/>             </LinearLayout>             <LinearLayout                 android:layout_width="match_parent"                 android:layout_height="match_parent"                 android:orientation="horizontal">                 <TextView                     android:layout_width="0dp"                     android:layout_height="match_parent"                     android:layout_weight="1"/>                 <CheckBox                     android:id="@+id/checkbox_remember_id"                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:checked="false"                     android:text="记住账号"                     android:textColor="#FFC0CB"                     android:textStyle="bold"                     android:background="@drawable/shape_rectangle_textview"/>                 <TextView                     android:layout_width="0dp"                     android:layout_height="match_parent"                     android:layout_weight="1"/>                 <CheckBox                     android:id="@+id/checkbox_remember_password"                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:checked="false"                     android:text="记住密码"                     android:textColor="#FFC0CB"                     android:textStyle="bold"                     android:background="@drawable/shape_rectangle_textview"/>                 <TextView                     android:layout_width="0dp"                     android:layout_height="match_parent"                     android:layout_weight="1"/>             </LinearLayout>             <LinearLayout                 android:layout_width="match_parent"                 android:layout_height="wrap_content"                 android:orientation="horizontal">                 <Button                     android:id="@+id/button_register_no"                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:text="注册"/>                 <TextView                     android:layout_width="0dp"                     android:layout_height="match_parent"                     android:layout_weight="1"/>                 <Button                     android:id="@+id/button_login"                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:text="登录" />             </LinearLayout>         </LinearLayout>     </LinearLayout> </RelativeLayout>

标签:放松,安卓,6.10,博客,进入状态,考试
From: https://www.cnblogs.com/zjm921/p/18251204

相关文章

  • 5.18博客
    上午数据库下午计网要是工程数学老师有数据库老师的松弛感就好了学习内容:安卓<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"  android:layout_width="match_parent"  android:layout_height="50dp"  android:background="#aaa......
  • 5.21博客
    又是周一!课这么多spring-boot就先放一放学习内容:安卓packagecom.example.app_02.database;importandroid.util.Log;importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.PreparedStatement;importjava.sql.ResultSet;publicclassMySQLCon......
  • 5.22博客
    还是上午计网下午建民老师的课,晚上又是跑步,今天跑得慢了点但是足足有七公里学习内容:安卓packagecom.example.app_02.entity;publicclassRecord{  privateStringstartTime;  privateStringendTime;  privateStringrecord;  publicRecord(){......
  • 5.23博客
    python和工程数学学习内容:下午没课所以可以看一下spring-boot自动配置原理安卓:packagecom.example.app_02.entity;publicclassUser{  privateStringusername;  privateStringpassword;  publicUser(){  }  publicUser(Stringusernam......
  • 5.24博客
    体育比赛也是完美收工,全胜学习内容:spring-boot自定义stater安卓:packagecom.example.app_02.entity;publicclassUserInfo{  privateStringstudentid;  privateStringname;  privateStringphonenumber;  privateStringclassname;  publ......
  • 5.25博客
    满满一周的课终于结束,奖励自己一杯奶茶吧学习内容:安卓packagecom.example.app_02.utils;importcom.example.app_02.R;importcom.example.app_02.database.MySQLConnection;importcom.example.app_02.entity.Record;importcom.example.app_02.entity.User;importja......
  • 5.28博客
    又是周一,那些杀不死我的还不如直接杀死我学习内容:安卓packagecom.example.app_02.utils;importcom.example.app_02.database.MySQLConnection;importcom.example.app_02.entity.User;importcom.example.app_02.entity.UserInfo;publicclassUserDaoextendsMySQLCo......
  • 5.29博客
    上午计网下午建民老师的课学习内容:安卓packagecom.example.app_02.utils;importcom.example.app_02.database.MySQLConnection;importcom.example.app_02.entity.User;importcom.example.app_02.entity.UserInfo;publicclassUserInfoDaoextendsMySQLConnection{......
  • 5.30博客
    周三:python和工程数学python学习:importrequestsfrombs4importBeautifulSoupasbsimportpandasaspdfrommatplotlibimportpyplotaspltdefget_rank(url):count=0 rank=\[\] headers={    "user-agent":"Mozilla/5.0(WindowsNT10......
  • 5.14博客
    学习内容:安卓<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"  xmlns:tools="http://schemas.android.com/tools"  android:layout_width="match_parent"  android:layout_height="wrap_content"......