zoukankan      html  css  js  c++  java
  • LinearLayout练习

    <?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:orientation="vertical">
    
            <EditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="To"
                />
    
    
    
            <EditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="Subject"/>
    
    
    
            <EditText
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:text="Message"
                android:gravity="top"
                android:layout_weight="1"/>
    
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
            <Button
                android:layout_width="260dp"
                android:layout_height="wrap_content"
                android:text="确定"
                android:layout_weight="1"
                />
            <Button
                android:layout_width="260dp"
                android:layout_height="wrap_content"
                android:text="取消"
                android:layout_weight="1"/>
        </LinearLayout>
    </LinearLayout>

  • 相关阅读:
    记一次mqtt压测过程
    记项目过程中代码分支管理
    测试流程
    Docker与K8s的区别
    Mysql之pymysql
    Mysql常用简介
    JQuery
    CSS
    红外线接受程序 理解
    数码管流水灯升级程序理解
  • 原文地址:https://www.cnblogs.com/youshashuosha/p/5321946.html
Copyright © 2011-2022 走看看