从一个android小白开始学习:
1、安装android studio 3.0
2、安装JAVA SDK
3、编写一个APP,点击发送能够将写入字符输出到屏幕上。
总共4个文件:
MainActivity.xml
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <EditText android:id="@+id/edit_message" android