摘要:
activity_main.xml grid_lyout.xml MainActivity.javapublic class MainActivity extends Activity { private Gallery myGallery=null; private SimpleAdapter mySimpleAdapter=null; private List> list=new ArrayList>(); private ImageSwitcher myImageSwitcher=null; @Override protected ... 阅读全文
摘要:
activity_main.xml MainActivity.javapublic class MainActivity extends Activity { private Button btn=null; private TextSwitcher myTextSwitcher=null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layo... 阅读全文
摘要:
activity_main.xml MainActivity.javapublic class MainActivity extends Activity { private Button btnLast=null; private Button btnNext=null; private ImageSwitcher myImageSwitcher=null; private int[] imgRes=new int[] { R.drawable.png_01, R.... 阅读全文
摘要:
activity_main.xml MainActivity.javapublic class MainActivity extends Activity { private Button btn01=null; private Button btn02=null; private Button btn03=null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);... 阅读全文