摘要:
MainActivityJava代码 package org.wp.activity; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; publicclass MainActivity extends Activity { private ImageScrollView imageScrollView = null; private PageControlView pageControlView = null; @Override publicvoid onC... 阅读全文
摘要:
步骤1.建立两个Activity,作为tab内容 (我这里是OneActivity、TestActivity)public class OneActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TextView textview = new TextView(this); textview.setText("This is the Artists tab"); ... 阅读全文