xml中 <com.abc.testView1
android:layout_width="wrap_content" android:layout_height="fill_parent"
android:layout_weight="1" />
<com.abc.testView12
android:layout_width="wrap_content" android:layout_height="fill_parent"
android:layout_weight="1" />
<com.abc.testView3
android:layout_width="wrap_content" android:layout_height="fill_parent"
android:layout_weight="1" />前两个从extends View可以正常显示第三个继承自SurfaceView就不行了?
把能正常显示的第二个View改为SurfaceView也不显示了,难道不支持SurfaceView??
android:layout_width="wrap_content" android:layout_height="fill_parent"
android:layout_weight="1" />
<com.abc.testView12
android:layout_width="wrap_content" android:layout_height="fill_parent"
android:layout_weight="1" />
<com.abc.testView3
android:layout_width="wrap_content" android:layout_height="fill_parent"
android:layout_weight="1" />前两个从extends View可以正常显示第三个继承自SurfaceView就不行了?
把能正常显示的第二个View改为SurfaceView也不显示了,难道不支持SurfaceView??
解决方案 »
- ubuntu 下android源码下载的问题
- Android in-app billing出现的问题
- editText控件无法获取当前输入的字符串的问题。
- android是如何编辑的
- 匹配邮箱强行关闭…………
- 我的eclipse运行时出现这种情况,PANIC: Could not open: F:\java\android:\\.android/avd/ANT.ini
- 请问一个BaseAdapter以及ListView的问题(比较非主流!)
- Bitmap对象如何取得其左上角坐标???求解???
- 一点点的问题。。。黄荣楠容易赚的分
- cordova build 编译出错
- 接口也能实现接口吗
- android画文字时如何换行
surfaceview要在线程中通过SufaceViewHolder的lockCanvas方法来得到canvas对象进行绘图的。
http://blog.csdn.net/xiaominghimi/archive/2010/12/26/6099194.aspx