![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android基础
杨泽楷的日常技术博客
这个作者很懒,什么都没留下…
展开
-
Activity生命周期(1)
Activity启动的流程包括:onCreate()->onStart()->onResume()Activity关闭的流程包括:onPause()->onStop()->onDestroy()。Activity重启的流程包括:onPause()->onResume()或者onStop()->onRestart()下面再通过实例来讲述Activity的生原创 2015-07-13 07:53:07 · 218 阅读 · 0 评论 -
Activity生命周期(2)
onWindowFocusChanged:原创 2015-07-16 13:20:17 · 215 阅读 · 0 评论 -
自定义View(1)
1. 自定义view属性 2. 构造函数中获取属性 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.MyView); mTitleText = a.getString(R.styleable.MyView_titl原创 2015-08-07 10:07:33 · 190 阅读 · 0 评论