android布局之LinearLayout
2010-05-29 06:00:00 来源:WEB开发网核心提示:11. @Override12. public void onCreate(Bundle savedInstanceState) {13. super.onCreate(savedInstanceState);14. setContentView(R.layout.main);15. }16. }Views.javap
11. @Override
12. public void onCreate(Bundle savedInstanceState) {
13. super.onCreate(savedInstanceState);
14. setContentView(R.layout.main);
15. }
16. }
Views.java
package com.cn.view;
import android.app.Activity;
import android.os.Bundle;
public class Views extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
我使用的版本为1.5.欢迎朋友们讨论
Tags:android 布局 LinearLayout
编辑录入:coldstar [复制链接] [打 印]更多精彩
赞助商链接