How to take a component position?
<p>there are 2 imageview in layout with different position so when I clicked black one I want to make a new card same <strong>position</strong> of imageview and of course for red one.For example ,black one's <strong>layout_alignParentTop="true"</strong> and I want to use this information to making a new card. How can I get position of imageviews and use them when I making a new card?</p>

<p><a href="https://i.stack.imgur.com/XhwY4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XhwY4.png" alt="enter image description here"></a></p>