03 2017 档案
android-基础编程-Preference
摘要:由于SDK封装和提供了一套基于Preference的类,使用Preference通过编辑xml配置文件,只要很少的代码就可以实现了,而且Preference本身已经实现了参数保存,不需要我们再考虑将参数保存文件.类型主要有有两类:一类是管理布局的有PreferenceScreen和Preferenc
阅读全文
android-基础编程-Dialog
摘要:Dialog是一种常见的控件。 设置对话框一般步骤如下: 1.实例化dialog 由于AlertDialog的构造函数的关系,不能直接实例化,需要利用Builder来实例化,如 AlertDialog.Builder customizeDialog =new AlertDialog.Builder(
阅读全文
android-基础编程-RecyclerView
摘要:以后android-基础编程*都是控件demo里面的,不再累赘重写。直接介绍控件使用。 RecyclerView is a more advanced and flexible version of ListView. This widget is a Container for large set
阅读全文