子窗口A:
Java code?1 /** * */ package org.xzx; import android.app.Activity; import android.os.Bundle; /** * @author sharl * @date 2012-2-23 上午10:51:57 * @usage */public class A extends Activity { /** * */ public A() { } /* * (non-Javadoc) * @see android.app.Activity#onCreate(android.os.Bundle) */ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.a); } }
对应的布局:
XML/HTML code?1 <?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="m
上一页 [1] [2] [3] [4] [5] [6] [7] [8] 下一页