I am trying to place the view in an arbitrary place.
My goal: To overlay some rectangle of JPG / PNG, given coordinates related to JPG / PNG, with some other kind, say, with a gallery or with some video.
I do not want to use AbsoluteLayout as it is deprived.
So I use RelativeLayout, defining a dummy text block as a placeholder, and putting my RIGHT_TO and BELOW view in the text box.
+--------+
|TextView|
| | (x,y)
+--------+-----------------------+
| |
| My View |
| |
+-----------------------+
My question is: Is there a more reliable and elegant way to do this?
, : . - . , .
- , . :
- init, , . . . : (
- , (: AVD, ImageView, CTRL + F12, . , , ImageView , ).
- .
, .
Thanks
M.