![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android自学笔记
文章平均质量分 62
szrjylyl
这个作者很懒,什么都没留下…
展开
-
Android--AlertDialog对话框
AlertDialog是真正意义上具有和用户交互的窗口.通过new一个AlertDialog.Builder对象,可以构造一个具有Title(setTitle),Message(setMessage)和确认按钮(setPositiveButton)的对话框。如:new AlertDialog.Builder(class.this).setTitle(R.string.app_about原创 2013-12-31 15:35:28 · 371 阅读 · 0 评论 -
Bundle传递对象
//Intent.Bundle对象传递数据1)Intent intent = new Intent();intent.setClass(当前类.this,继承类.class);2)用Bundle绑定要传递的数据Bundle bundle = new Bundle();bundle.putDouble("height",height);bundle.putString("se原创 2014-01-02 08:52:16 · 567 阅读 · 0 评论