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

    <?xml version="1.0" encoding="utf-8"?>
    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <TableRow
            android:layout_weight="1">
            <EditText
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:hint="To"
                android:layout_span="2"
                />
        </TableRow>
        <TableRow
            android:layout_weight="1">
            <EditText
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:text="Subject"
                android:layout_span="2"
                />
        </TableRow>
        <TableRow
            android:layout_weight="10">
            <EditText
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:hint="message"
                android:gravity="top"
                android:layout_span="2"/>
        </TableRow>
        <TableRow
            android:layout_weight="1">
            <Button
                android:layout_width="260dp"
                android:layout_height="match_parent"
                android:layout_marginLeft="10dp"
                android:text="确定" />
    
            <Button
                android:layout_width="260dp"
                android:layout_height="match_parent"
                android:text="取消"
                android:layout_marginRight="10dp" />
        </TableRow>
    
    </TableLayout>

  • 相关阅读:
    eventbus 备注
    Retrofit 备注
    RxJava 备注
    dagger2 备注
    JVM 备注
    UI控件(UIPickerView)
    Android 知识杂记(MVP模式)
    UI控件(UIToolbar)
    UI控件(UIAlertController)
    UI控件(UIScrollView)
  • 原文地址:https://www.cnblogs.com/youshashuosha/p/5321504.html
Copyright © 2011-2022 走看看