- 2
- 0
- 约 20页
- 2016-12-28 发布于重庆
- 举报
7-4-3使用 在onCreate中的代码(示例代码): … TabHost tabs=(TabHost)findViewById(R.id.tabhost); tabs.setup(); TabHost.TabSpec spec=tabs.newTabSpec(tag1); spec.setContent(R.id.tab1); spec.setIndicator(Clock); … 7-5ViewFlipper View Flipper继承自FrameLayout,开始的时候只会显示一个子视图。可以让用户通过交互操作来翻转视图,也可以通过定时器来翻转视图,翻转的次序由你来定。 7-5ViewFlipper XML文件如下 ViewFlipper … TextView android:textColor=#FF00FF00 android:text=This is the first panel / TextView android:textColor=#FFFF0000 android:text=This is the second panel / TextView android:textColor=#FFFFFF00 andro
原创力文档

文档评论(0)