Android短信页面

 1 <?xml version="1.0" encoding="utf-8"?>
 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3     android:orientation="vertical"
 4     android:layout_width="match_parent"
 5     android:layout_height="match_parent"
 6     android:padding="10dp">
 7    
 8      <EditText
 9             android:layout_width="match_parent"
10             android:layout_height="wrap_content"
11             android:hint="To"/>
12     
13         android:layout_width="match_parent"
14         android:layout_height="wrap_content"
15         android:layout_weight="1">
16         <EditText
17             android:layout_width="match_parent"
18             android:layout_height="wrap_content"
19             android:hint="Subject"/>
20     
21         android:layout_width="match_parent"
22         android:layout_height="wrap_content"
23         android:layout_weight="4">
24         <EditText
25             android:layout_width="match_parent"
26             android:layout_height="wrap_content"
27             android:hint="Massage"
28             android:height="360dp"
29             android:gravity="top"/>
30     <LinearLayout
31         android:layout_width="match_parent"
32         android:layout_height="wrap_content"
33         android:layout_weight="1">
34         <Button
35             android:layout_width="0dp"
36             android:layout_height="wrap_content"
37             android:text="Reset"
38             android:id="@+id/button3"
39             android:layout_weight="1"/>
40 
41         <Button
42             android:layout_width="0dp"
43             android:layout_height="wrap_content"
44             android:text="Send"
45             android:id="@+id/button4"
46             android:layout_weight="1"/>
47 
48     </LinearLayout>
49     
50 </LinearLayout>
短信界面

原文地址:https://www.cnblogs.com/arxk/p/5410531.html