摘要: 1. 最简单的TabHost,Tab来自于layout下的元素 (只从1个Layout中取数据) (1)效果图(2)代码1)tab_demo.xml[xhtml] view plaincopyprint?<?xmlversion="1.0"encoding="utf-8"?><FrameLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:orientation="vertical"android:layou 阅读全文
posted @ 2012-03-28 09:55 First_Wolf 阅读(399) 评论(0) 推荐(0) 编辑
摘要: android中创建对话框相对来说比较简单new一个AlertDialog.Builder,然后设置它的一些信息比如显示内容,标题,是否可以通过返回键取消对话框,确定按钮,取消按钮等等。、 new AlertDialog.Builder(EX03_12.this) .setTitle(R.string.app_about) .setMessage(R.string.app_about_msg) .setCancelable(false) .setPositiveButton(R.string.str_ok, new DialogInterface.OnClickListener() { pub 阅读全文
posted @ 2012-03-28 09:39 First_Wolf 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 对Context进行一个分析 阅读全文
posted @ 2012-03-28 09:13 First_Wolf 阅读(558) 评论(0) 推荐(0) 编辑