[問題] canvas畫圖
各位大大好 又是一個畫圖問題
我主要是想在我其中一個view裡面話一個弧 但不管怎樣他都畫不出來 一片空白
網路上一大堆都是把整個activity當畫布 也就是在onCreate裡
setContentView(自己的custom view)
但我只想在layout其中一個view裡畫圖!!
拜託大大們的幫忙了 謝謝:)
Code:
activity xml: http://nopaste.info/ac4204eb3a.html
main activity java: http://nopaste.info/a2efae1e84.html
custom view java: http://nopaste.info/9ab599ead2.html
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.232.22.73
→
02/04 11:53, , 1F
02/04 11:53, 1F
推
02/06 01:01, , 2F
02/06 01:01, 2F
→
02/18 16:27, , 3F
02/18 16:27, 3F
→
02/18 16:31, , 4F
02/18 16:31, 4F