摘要:
packagecom.ActivityGroupDemo;importandroid.app.ActivityGroup;importandroid.content.Intent;importandroid.graphics.Color;importandroid.graphics.drawable.ColorDrawable;importandroid.os.Bundle;importandroid.view.Gravity;importandroid.view.View;importandroid.view.Window;importandroid.view.ViewGroup.Layou 阅读全文
摘要:
在主activity中用LinearLayout把子 activity包含进来publicclassFormActivityextendsActivityGroup{ @Override protectedvoidonCreate(BundlesavedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.form); LocalActivityManagerm=getLocalActivityManager(); Intentintent=newIntent().setClass(t... 阅读全文