Placing elements in horizontal layout (android)
<p>I want to place ImageView on the center of screen and ImageButton on the right of that ImageView, see
<a href="https://i.stack.imgur.com/h7Cm2.png" rel="nofollow noreferrer">Screen</a>.</p>

<p>How can I do this? I tried horizontal linear layout and gravity: center but both elements are on center.</p>

<p>Thanks in advance :)</p>