我有一个自定义的表面视图,其中已使用线程,构造函数和onDraw方法绘制了背景位图。在这里,我需要将自定义视图添加到表面视图中,如果可以的话,这可能吗?
SurfaceView
is not a ViewGroup
it can't hold other views. You can draw your own though.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.