App基本
This is the user interface layout XML file. It contains a TextView element with the android:text attribute Hello World. Read the code at the blue arrow, then continue.
怎么做?
<?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:gravity="center"
android:orientation="vertical" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hi World" />
textsi
</LinearLayout>
- 1 回答
- 0 关注
- 1254 浏览
添加回答
举报
0/150
提交
取消