简体   繁体   中英

How can I place canvas view and button on the same screen?

I have been trying this for the past week. I am trying to place the canvas drawing I have done of a circle with buttons below. However, when doing this either the buttons appear on the screen or just the canvas as either cover the other up, so does anyone have code or know how I can resolve this issue?

如果以编程方式创建布局并向其添加一个Surfaceview(包含要绘制的画布),然后添加一个按钮,则该按钮将出现在该表面视图上方。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM