您的位置:首页 > 移动开发 > Android开发

Android 网格布局短信发送界面

2020-01-15 11:34 1446 查看
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="1"
6     android:columnCount="4"
7     android:orientation="horizontal"
8     >
9
10     <EditText
11         android:layout_width="match_parent"
12         android:layout_height="50dp"
13         android:layout_columnSpan="4"
14         android:hint="TO">
15     </EditText>
16     <EditText
17         android:layout_width="match_parent"
18         android:layout_height="50dp"
19         android:layout_columnSpan="4"
20         android:hint="Subject">
21     </EditText>
22     <EditText
23         android:layout_width="match_parent"
24         android:layout_height="350dp"
25         android:layout_columnSpan="4"
26         android:hint="Message"
27         android:gravity="left|top">
28     </EditText>
29     <Button
30         android:layout_width="200dp"
31         android:layout_height="wrap_content"
32         android:text="Reset"
33         android:textColor="#00F"
34         android:textSize="20dp"
35         />
36     <Button
37         android:layout_width="200dp"
38         android:layout_height="wrap_content"
39         android:text="sent"
40         android:textColor="#00F"
41         android:textSize="20dp"
42         />
43 </GridLayout>

转载于:https://www.cnblogs.com/TENOKAWA/p/5420036.html

  • 点赞
  • 收藏
  • 分享
  • 文章举报
banglun5623 发布了0 篇原创文章 · 获赞 0 · 访问量 201 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: