Android HelloWord 编写方式介绍
2010-02-10 06:45:00 来源:WEB开发网核心提示:3.在Android HelloWord编写中,新建activityFrameLayout类和activityFrameLayout.xml文件Java代码< ?xml version="1.0" encoding="utf-8"?> < LinearLay
3.在Android HelloWord编写中,新建activityFrameLayout类和activityFrameLayout.xml文件
Java代码
- < ?xml version="1.0" encoding="utf-8"?>
- < LinearLayout xmlns:android=
"http://schemas.android.com/apk/res/android"- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- < TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Hello xiaoshengDAI"
- />
- < /LinearLayout>
- < ?xml version="1.0" encoding="utf-8"?>
- < LinearLayout xmlns:android=
"http://schemas.android.com/apk/res/android"- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- < TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Hello xiaoshengDAI"
- />
- < /LinearLayout>
更多精彩
赞助商链接