android
qiuchenl
这个作者很懒,什么都没留下…
展开
-
xml用到surfaceview控件 遇到unable to start activity componentInfo类问题
今天编写一个android加入surfaceview的问题,xml中的代码如下<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" andro原创 2011-11-18 09:43:39 · 6146 阅读 · 0 评论 -
surfaceDestroyed什么时候被调用
今天看别人的代码,突然有个疑问,surfaceDestroyed这个函数什么时候被调用呢? 上网搜了一番,基本都说是surface被销毁的时候,才会调用surfaceDestroyed。问题又来了surface什么时候被销毁呢,大家都知道surface是surfaceview的一个专门用于画图的接口,所以当surfaceview的对象销毁时,surface一定也销毁,这时surf原创 2011-11-14 18:30:59 · 29819 阅读 · 3 评论