终于升到大二了,我们开设了新的课程——Android入门基础,这让我很感兴趣!
我们身处一个智能时代,生活在逐渐便利的同时,也隐藏着很多风险。学习这么课程之后,会让我们知道安卓是怎样运行的。
我们做的第一个程序是Hello World
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical" >
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/hello" />
- </LinearLayout>
- <?xml version="1.0" encoding="utf-8"?>
- <resources>
- <string name="hello">Hello World, AndroidhelloActivity!</string>
- <string name="app_name">Androidhello</string>
- </resources>