zoukankan      html  css  js  c++  java
  • 信息界面——GridLayout

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
     3     android:layout_width="match_parent"
     4     android:layout_height="match_parent"
     5     android:rowCount="4"
     6     android:columnCount="2">
     7 
     8     <EditText
     9         android:layout_rowWeight="1"
    10         android:layout_columnWeight="1"
    11         android:layout_gravity="fill"
    12         android:layout_columnSpan="2"
    13         android:text="TO"/>
    14 
    15     <EditText
    16         android:layout_rowWeight="1"
    17         android:layout_columnWeight="1"
    18         android:layout_gravity="fill"
    19         android:layout_columnSpan="2"
    20         android:text="Subject"/>
    21 
    22     <EditText
    23         android:layout_rowWeight="35"
    24         android:layout_columnWeight="1"
    25         android:layout_gravity="fill"
    26         android:layout_columnSpan="2"
    27         android:text="Message"
    28         android:gravity="top|left"/>
    29 
    30     <Button
    31         android:layout_rowWeight="1"
    32         android:layout_columnWeight="1"
    33         android:layout_gravity="fill"
    34         android:text="Resent" />
    35     <Button
    36         android:layout_rowWeight="1"
    37         android:layout_columnWeight="1"
    38         android:layout_gravity="fill"
    39         android:text="Send" />
    40 
    41 
    42 
    43 
    44 </GridLayout>
    信息界面——GridLayout

  • 相关阅读:
    简洁搭建hadoop伪分布式文件系统
    在腾讯云下搭建hadoop伪分布式系统
    在腾讯云下搭建hadoop伪分布式系统
    Maven是什么
    地三鲜
    GitHub Pages搭建博客HelloWorld版
    JMS-ActiveMQ
    关于爱情(陈果)-笔记
    新人入职培训
    第三方平台接入汇总
  • 原文地址:https://www.cnblogs.com/arxk/p/5419597.html
Copyright © 2011-2022 走看看