开发者

Adding a child view at particular location in parent view

开发者 https://www.devze.com 2022-12-23 07:03 出处:网络
I n开发者_Go百科eed to draw a child view containing a rectangle and buttonon top of the content view at particular location on the parent (content view).

I n开发者_Go百科eed to draw a child view containing a rectangle and button on top of the content view at particular location on the parent (content view).

How can I do this? Did not find an explicit way to set origin of child view?


It depends. If you are talking about placing the rectangle at an absolute position, remember that android devices come with many many screensizes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号