Adding a child view at particular location in parent 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.
精彩评论