首先,先创建一个安卓项目(我的版本号是4.4.2的),名字为"短信发送器"
然后在res目录下找到layout目录,找到activity_main.xml或fragment_main.xml,在里面输入或拖拽button
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_/>