上一页 1 ··· 6 7 8 9 10
摘要: position = (Spinner)findViewById(R.id.position);String[] str = {"CEO","CFO","PM"};ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_spi... 阅读全文
posted @ 2015-04-12 23:45 lshs 阅读(220) 评论(0) 推荐(0)
摘要: Android系统提供四种对话框:警告对话框(AlertDialog),进度对话框(ProgressDialog),日期选择对话框(DatePickerDialog)和时间选择对话框(TimePickerDialog)。此处重点针对AlertDialog。1.获得AlertDialog的静态内部类B... 阅读全文
posted @ 2015-04-12 23:44 lshs 阅读(229) 评论(0) 推荐(0)
摘要: Know what functions C++ silently writes and calls1、If you don't declare them yourself, compilers will declare their own versions of a copy constructo... 阅读全文
posted @ 2015-04-11 23:12 lshs 阅读(538) 评论(0) 推荐(0)
摘要: 典型菜单资源结构:根元素且没有属性,在根元素里面会嵌套和子元素,里面可以嵌套形成子菜单。表示一个菜单组,相同的菜单组可以一起设置其属性,属性说明如下id:唯一标示该菜单组的引用idmeunCategory:对菜单进行分类,定义菜单的优先级,有效值为container,system,secondary... 阅读全文
posted @ 2015-04-07 00:03 lshs 阅读(528) 评论(0) 推荐(0)
摘要: 1.资源的访问代码中使用Context的getResources()方法得到Resources对象,访问自己定义的资源R.资源文件类型.资源文件名称,访问系统定义的资源android.R. 资源文件类型.资源文件名称。在其他资源中引用资源一般格式为@[包名称:]资源类型/资源名称android:te... 阅读全文
posted @ 2015-04-06 23:41 lshs 阅读(738) 评论(1) 推荐(0)
摘要: View C++ as a federation of languages。1、把C++看成4种子语言组成,即C、Object-Oriented C++、Template C++、The STL。2、Things to Remember:Rules for effective C++ program... 阅读全文
posted @ 2015-04-06 22:42 lshs 阅读(375) 评论(0) 推荐(0)
摘要: Introduction1、Learning the fundamentals of a programming language is one thing; learning how to design and implement effective programs in that langua... 阅读全文
posted @ 2015-04-06 22:24 lshs 阅读(246) 评论(0) 推荐(0)
摘要: CSDN写博客竟然还需要审核 试一下这里 阅读全文
posted @ 2015-04-06 22:22 lshs 阅读(193) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10