摘要: 不废话,直接上代码 1 @Override 2 public void onTabChanged(String tabId) { 3 Builder builder = new AlertDialog.Builder( 4 TabWidgetActivity.this); 5 builder.setTitle("选项卡弹窗"); 6 7 // builder.setMessage("您选中了第"+tabId+"个选项卡");/... 阅读全文
posted @ 2012-10-26 13:48 draem0507 阅读(4652) 评论(0) 推荐(0) 编辑
摘要: 学习完布局,接下来就是一些常用的控件了,这里介绍下tabhost先上布局xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <TabHost 3 android:id="@android:id/tabhost" 4 xmlns:android="http://schemas.android.com/apk/res/android" 5 android:layout_width="fill_parent" android:layout_h 阅读全文
posted @ 2012-10-26 10:47 draem0507 阅读(601) 评论(0) 推荐(0) 编辑
View Code