摘要: API原文说明: android:configChangesLists configuration changes that the activity will handle itself. When a configuration change occurs at runtime, the act 阅读全文
posted @ 2016-05-10 15:19 Kevin.W 阅读(344) 评论(0) 推荐(0)
摘要: 熟悉javaEE的朋友们都了解servlet技术,我们想要实现一个自己的servlet,需要继承相应的基类,重写它的方法,这些方法会在合适的时间被servlet容器调用。其实Android中的Activity运行机制跟servlet有些相似之处,Android系统相当于servlet容器,Activ 阅读全文
posted @ 2016-05-10 10:58 Kevin.W 阅读(150) 评论(0) 推荐(0)
摘要: 在实际开发中LayoutInflater这个类还是非常有用的,它的作用类似于findViewById()。 不同点是LayoutInflater是用来找res/layout/下的xml布局文件,并且实例化;而findViewById()是找xml布局文件下的具体widget控件(如Button、Te 阅读全文
posted @ 2016-05-10 10:01 Kevin.W 阅读(164) 评论(0) 推荐(0)