• 安卓短信发送界面


     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     <LinearLayout
     9         android:layout_width="match_parent"
    10         android:layout_height="wrap_content">
    11     <EditText
    12         android:layout_width="match_parent"
    13         android:layout_height="match_parent"
    14         android:hint="To"
    15         android:inputType="text"
    16         android:editable="true"/>
    17     </LinearLayout>
    18 
    19     <LinearLayout
    20         android:layout_width="match_parent"
    21         android:layout_height="wrap_content">
    22         <EditText
    23             android:layout_width="match_parent"
    24             android:layout_height="wrap_content"
    25             android:hint="Subject"
    26             android:inputType="text"
    27             android:editable="true"/>
    28     </LinearLayout>
    29     <LinearLayout
    30         android:layout_width="match_parent"
    31         android:layout_height="wrap_content">
    32         <EditText
    33             android:layout_width="match_parent"
    34             android:layout_height="362dp"
    35             android:hint="MESSAGE"
    36             android:inputType="text"
    37             android:editable="true"/>
    38     </LinearLayout>
    39     <LinearLayout
    40         android:layout_width="match_parent"
    41         android:layout_height="wrap_content">
    42         <Button
    43             android:layout_width="0dp"
    44             android:layout_height="wrap_content"
    45             android:text="Reset"
    46             android:id="@+id/button"
    47             android:layout_weight="1"
    48             android:paddingLeft="10dp"
    49             android:drawableLeft="@drawable/add"/>
    50 
    51         <Button
    52             android:layout_width="0dp"
    53             android:layout_height="wrap_content"
    54             android:text="Send"
    55             android:id="@+id/button2"
    56             android:paddingLeft="10dp"
    57             android:layout_weight="1"
    58             android:drawableLeft="@drawable/accept1"/>
    59     </LinearLayout>
    60 </LinearLayout>

    电脑内存太低 无法运行模拟器 只能这样截图

  • 相关阅读:
    使用RestTemplate上传文件到远程接口
    设计模式(五)之适配器模式
    设计模式(四)之装饰者模式
    设计模式(三)之模板方法模式
    设计模式(二)之责任链模式
    BUG-jQuery提交表单submit方法-TypeError: e[h] is not a function
    数据类型--集合 set
    数据类型--字典 dic
    字符 str 串需要记住的语法
    数据类型--列表 list
  • 原文地址:https://www.cnblogs.com/TENOKAWA/p/5400310.html
Copyright © 2020-2023  润新知