zoukankan      html  css  js  c++  java
  • 课堂总结和练习

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="10dp">
    
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
    
     <EditText
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:hint="用户名" />
            </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="密码"
            android:inputType="textPassword"
            android:maxLength="16"/>
            </LinearLayout>
    
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_weight="1">
    
            <EditText
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:hint="内容"
                android:gravity="top"
                android:inputType="textPassword" />
        </LinearLayout>
    
    
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_gravity="bottom">
    
        <Button
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="登陆"
            android:id="@+id/button3"
            android:layout_weight="1"/>
        <Button
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="注册 "
            android:id="@+id/button2"
            android:layout_weight="1"/>
    </LinearLayout>
    
    </LinearLayout>
    View Code

  • 相关阅读:
    白钰铭的第九次作业
    白钰铭的第八次作业
    第七次作业
    白钰铭的第六次作业
    白钰铭的第五次作业
    白钰铭的第四次作业
    白钰铭的第三次作业
    十二次作业!
    十一!!!作业!!
    第九次作业!
  • 原文地址:https://www.cnblogs.com/bilibiliganbei/p/5399410.html
Copyright © 2011-2022 走看看