Hide view and re position other views accordingly
<p>I have some action buttons bellow my table view items. There are 7 items. However, some times, some action buttons will be hidden. However, when I hide an item, the positions stay same as you can see in the image:</p>

<p><a href="https://i.stack.imgur.com/5E0ur.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5E0ur.png" alt="My items"></a>
<a href="https://i.stack.imgur.com/AFIym.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AFIym.png" alt="My items after hide"></a></p>

<p><a href="https://i.stack.imgur.com/qnz13.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qnz13.png" alt="My constraints are looking like this"></a></p>

<p>How can I make sure other items fill out its position?</p>